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

htaccess rewrite wizard needed!

Jake Bunce

XenForo moderator
Staff member
#2
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.