• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

301 redirects

wii

Active member
#2
Maybe something like this, but it doesn't work?

RewriteRule ^viewtopic.php?id=([0-9][0-9])$ /viewtopic.php?id=$1/ [R]
RewriteRule ^threads/([0-9][0-9])/$ /threads=$1

Or

redirect 301 /viewtopic.php?id= /threads/
 

yoghurtfarmer

Well-known member
#5
Oh, then I don't know why the RewriteRule doesn't work (they are new to me). I had trouble with them too.

What happens when you go to the old link? Do you get a 404?
 

wii

Active member
#6
Strange, I just checked some more links, some of them have the same ID, other don't.

Is it the conversion from punbb to vbulletin that did this, or the conversion from vbulletin to xenforo?