Re: Rewriting URLs
Try:
RewriteRule ^/forums/viewtopic.php?t=([0-9]+)$
/forums/topic/$1 [R]
Escaping the dot and the dollar-sign. You might also need to specify:
RewriteBase /directory/path/where/forum/resides/
Just after “RewriteEngine on”
Try:
RewriteRule ^/forums/viewtopic.php?t=([0-9]+)$
/forums/topic/$1 [R]
Escaping the dot and the dollar-sign. You might also need to specify:
RewriteBase /directory/path/where/forum/resides/
Just after “RewriteEngine on”