homepage Welcome to WebmasterWorld Guest from 50.17.107.233
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Pubcon Website
Home / Forums Index / WebmasterWorld / Community Building and User Generated Content
Forum Library, Charter, Moderators: rogerd

Community Building and User Generated Content Forum

    
phpBB SEO
Which hack is best?
JoshS




msg:1557900
 12:10 am on Oct 29, 2004 (gmt 0)

In an effort to give my little used phpBB a little boost in the search engines, I've looked at a few of the SEO hacks out there. I think any of them would be somewhat helpful, but was wondering if anyone had a favorite?

 

buksida




msg:1557901
 8:05 am on Nov 2, 2004 (gmt 0)

After reading several posts about session ID's recommending this, I opened sessions.php and replaced the following code:

global $SID;

if (!empty($SID) &&!preg_match('#sid=#', $url) )

with this:

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'] ,'slurp@inktomi.com;'))

Now Googlebot quite happily spiders my fora and results appear in the SERPS.

Reflection




msg:1557902
 6:47 pm on Nov 2, 2004 (gmt 0)

I use the same and it works.

JoshS




msg:1557903
 1:39 am on Nov 3, 2004 (gmt 0)

Thanks!

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.

buksida




msg:1557904
 5:59 am on Nov 3, 2004 (gmt 0)

Can you post the static link generator, that sounds pretty good to me.

JoshS




msg:1557905
 6:24 pm on Nov 3, 2004 (gmt 0)

If you google "phpBB google keyword URLs" it is the first result.

buksida




msg:1557906
 7:00 am on Nov 4, 2004 (gmt 0)

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.

JoshS




msg:1557907
 3:55 pm on Nov 4, 2004 (gmt 0)

Hmmm...worked from the start here. Wonder what the problem is?

webby2001




msg:1557908
 4:46 pm on Nov 4, 2004 (gmt 0)

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.

Alan

trillianjedi




msg:1557909
 5:25 pm on Nov 4, 2004 (gmt 0)

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.....

TJ

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / Community Building and User Generated Content
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved