Quote:
Originally posted by cyc
Hi guys
Geat hack.....its the sole reason why i converted from yabbse to vbulletin yesterday
I've installed it but i think its still using sessions http://www.cyclingforums.com/f48/s isnt this a problem for google?
It would be good to be able to get rid of sessions unless they were required
great hack btw
cheers!
|
You probably don't want to rely on the file in the first post.

Use the following rewrite rules and make sure you change all the templates to remove any passing of the sessionhash. Obviously you will also need to force everybody to use cookies on your board.
Code:
RewriteEngine on
RewriteRule ^/f([0-9]+)/?$ /forumdisplay.php?forumid=$1 [L]
RewriteRule ^/f([0-9]+)/s?$ /forumdisplay.php?forumid=$1 [L]
RewriteRule ^/t([0-9]+)\.html$ /showthread.php?threadid=$1 [L]
RewriteRule ^/t([0-9]+)/s([^/]?)\.html$ /showthread.php?threadid=$1&s=$2 [L]
RewriteRule ^/s([^/\?]0-9)+/$ /index.php?s=$1 [L]