XF 1.4 vBulletin archive/index.php and tags redirects

For any URLs not covered by the script, or which don't have an equivalent in XenForo, you will have to add manual rewrites to the .htaccess file.
 
These should help with your archived threads:

Code:
RewriteRule archive/index\.php/t-([0-9]+)\.html$ http://yoursite.com/threads/$1 [R=301,L]
RewriteRule archive/index\.php/f-([0-9]+)\.html$ http://yoursite.com/forums/$1 [R=301,L]
 
These should help with your archived threads:

Code:
RewriteRule archive/index\.php/t-([0-9]+)\.html$ http://yoursite.com/threads/$1 [R=301,L]
RewriteRule archive/index\.php/f-([0-9]+)\.html$ http://yoursite.com/forums/$1 [R=301,L]

Thank you very much for the help. The following ended up working for the /t threads:
Code:
RewriteRule ^archive/index\.php/t-([0-9]+)\.html$ http://yoursite.com/index.php?threads/$1/ [R=301,L]
or
RewriteRule ^archive/index\.php/t-([0-9]+)\.html$ /index.php?threads/$1/ [R=301,L]
And this worked for the /f threads:
Code:
RewriteRule ^archive/index\.php/f-([0-9]+)\.html$ http://yoursite.com/forums/$1 [R=301,L]
or
RewriteRule ^archive/index\.php/f-([0-9]+)\.html$ /forums/$1 [R=301,L]
Thanks again. I really appreciate the help.
 
Last edited:
RewriteRule ^archive/index\.php/t-([0-9]+)\.html$ http://yoursite.com/index.php?threads/$1/ [R=301,L]
or
RewriteRule ^archive/index\.php/t-([0-9]+)\.html$ /index.php?threads/$1/ [R=301,L]
If I weren't running on 11 hours of sleep since Friday morning I could do this better, but...

Is anyone capable of translating this into something that would work with Nginx? I'm pretty sure this is the rule I need to until Google reindexes my site (4 pages reindexed after submitting my sitemap 24 hours ago. Wheee!)
 
Last edited:
Top Bottom