I want to permanently redirect old seo urls to topic urls.
topic-title.html redirect to viewtopic=4439.blah
RewriteRule ^([ct])([0-9]+)\.html$ ./viewtopic.php?f=$1&t=$2&$4 [L]
Redirect:
Redirect permanent ^([ct])([0-9]+)\.html http://www.domain.com/viewtopic.php?f=$1&t=$2&$4 [301,L]
I'm not so familiar with rewriting url's, the code above will probably give out an internal error, can anyone give me a hint how to do it?
Thanks,
Oliver
topic-title.html redirect to viewtopic=4439.blah
RewriteRule ^([ct])([0-9]+)\.html$ ./viewtopic.php?f=$1&t=$2&$4 [L]
Redirect:
Redirect permanent ^([ct])([0-9]+)\.html http://www.domain.com/viewtopic.php?f=$1&t=$2&$4 [301,L]
I'm not so familiar with rewriting url's, the code above will probably give out an internal error, can anyone give me a hint how to do it?
Thanks,
Oliver








