Quote:
Originally Posted by gmarik
PHP Code:
RewriteEngine on Options +FollowSymlinks RewriteBase / RewriteRule ^(.*)fid/(.*)$ $forumdisplay.php?f=$2 RewriteRule ^/f([0-9]+)/s([^/]+?)$ /forumdisplay.php?f=$1&s=$2 [L] RewriteRule ^/t([0-9]+)/s([^/]+?)\.html$ /showthread.php?t=$1&s=$2 [L] RewriteRule ^/s([^/])+?/$ /index.php?s=$1 [L] RewriteRule ^chat forumdisplay.php?f=10
does not work for "chat" ... any ideas what is wrong with the above examples
|
I would avoid doing this entirely. You are emulating directories and all of your images (and in my experience, even quick reply in vB3, of all things) gets broken.
Look at the links at my forum to see what I did as per an SEO suggestion of one of my moderators. It preserves the ID so that doesn't result in any queries.