PDA

View Full Version : [release] Make your forums Googlebot-friendly


filburt1
11-09-2002, 10:00 PM
Author: filburt1
Description: This lets Googlebot crawl your forums and threads; GB will only crawl threads in the first page of thread listings however. This requires Apache with .htaccess support of mod_rewrite; if you don't know what any of those are, you might have problems with this mod.
Demo: http://www.webdesignforums.net/
Screenshot: n/a

I got the idea from a hack at vB.org, and posted at vB.com only to have it sink into oblivion. So I posted it here.

Apply these template modifications to your default style set. You can apply it to more, but if you don't do at least the default set the modifications will be useless. In addition WOL will show "Unknown Location: [link]" but the actual links it references will still work.

Brad
11-09-2002, 11:03 PM
You sould mention that this cuases errors on who's online.

filburt1
11-09-2002, 11:28 PM
Done :)

imported_ULTIMATESSJ
02-12-2003, 02:20 PM
i have this in my .htaccess file



ErrorDocument 404 /forum/archive/index.php
RewriteEngine on
RewriteRule ^forumid(.*)session(.*).html forumdisplay.php?s=$2&forumid=$1
RewriteRule ^threadid(.*)session(.*).html showthread.php?s=$2&threadid=$1



but whenever i upload this to my forums directory, i always get a forbidden area

filburt1
02-12-2003, 04:26 PM
No clue

imported_ULTIMATESSJ
02-12-2003, 07:00 PM
well i have mod_rewrite enabled as well, so ermmmm i don't really see what can be going on with it :confused:

Bad Bunny
02-13-2003, 12:23 AM
Does this still mess up the "who's online"?

filburt1
02-13-2003, 12:30 AM
Yes and what's more it doesn't work because it still includes the sessionhash, so to the trash this shall go unless somebody can have the time to remove the shash from the rewritten URLs...

imported_ULTIMATESSJ
02-13-2003, 09:32 PM
isn't this the same one that you use though, you managed to get your threads on google, or is that one unreleased, if so, is there any other places to get one

filburt1
02-13-2003, 10:40 PM
I use a much more complicated file (like 20 lines).

imported_GMTalk
04-01-2004, 08:36 PM
care to share some hints Filburt?

dududog
04-01-2004, 11:41 PM
wow,,, that is really nice