htaccess rewrite wizard needed!

Jake Bunce

XenForo moderator
Staff member
Are you sure threads aren't ".t123"?

Add these rules to the top of the .htaccess file in your web root (or where XF is installed):

Code:
RewriteEngine On

RewriteRule ^[^\./]+\.f([0-9]+)/ /forums/$1/ [R=301,L]
RewriteRule ^[^\./]+\.t([0-9]+)/ /threads/$1/ [R=301,L]
That will redirect the old URLs. Then disable the addon to revert the links.
 
Top