After reading several posts about session ID's recommending this, I opened sessions.php and replaced the following code:
if (!empty($SID) &&!preg_match('#sid=#', $url) )
global $SID, $HTTP_SERVER_VARS;
if (!empty($SID) &&!eregi('sid=', $url) &&!strstr($HTTP_SERVER_VARS['HTTP_USER_AGENT'] ,'Googlebot') &&!strstr($HTTP_SERVER_VARS['HTTP_USER_AGENT'] ,'firstname.lastname@example.org;'))
Now Googlebot quite happily spiders my fora and results appear in the SERPS.
I use the same and it works.
I ended up using a combination of two different hacks and, surprisingly, it seems to work well. One makes a static url from the title of the thread and the other is some little seo tweaks, including ditching the sid for guests. Time will tell, but my logs show Google has started on it.
Can you post the static link generator, that sounds pretty good to me.
If you google "phpBB google keyword URLs" it is the first result.
Thanks for that, had a go but it didnt work. It changed to a friendly URL then just popped up the 404 file not found error. So I had to undo the mod, shame though it looked good.
Hmmm...worked from the start here. Wonder what the problem is?
At times like this I really wish urls could be posted here because there is one particular thread on phpbb.com (from the many that address SEO) where the mods are all on the first page of the long thread and work very well. They address the usual dynamic site problems of session id killing (the most important) to url flattening with mod_rewrite as well as url rewriting (to new mod_rewrite format).
That is really just the start though. I've got my own phpbb forum to index +75,000 pages and they also rank well. The key is to know which other mods to add which were not originally for SEO purposes but effect the deep crawling and ranking. Such as the fetch all mod and sitemap mods for example.
If you wish you can PM me and I'll send you some SE friendly pre modded files as well as details on other mods which should be added.
You can also make some useful edits in the bbcode.php file, which contains most of the parsing functions.
I made some changes to the Make_Clickable function in bbcode so that any dropped URL's go via a redirect script (which also incorporates a domain ban list), and email addresses get disguised rather than set to a "MailTo:".
If you're making it easier for bots to navigate, you need to start thinking about the kinds of bots that will be in there but that you don't really want to be able to "see" much.....