XF 1.4 301 redirection


Active member

I am migrating my XF 1.1.3 to XF 1.4
Both site are in the same html bay.
How can i setup a 301 redirection so that URL call from external site reach my new setup ?
Mainly for thread urls :
XF 1.1.3 : http://xxxxx/www/threads/xxxx.ID
XF 1.4 : http://xxxxx/forums/threads/xxxx.ID ?

I suppose i have to parse some info in my XF 1.1.3 htaccess.
is this correct?

#for all requests to www.xxxxx.com
RewriteCond %{HTTP_HOST} ^www\.xxxxx\.com\.www\.threads$
#redirect them to new-example
RewriteRule (.*) http://www.xxxxx.com/forums/treads$1 [R=301,L]
Thanks for support.


XenForo developer
Staff member
In that case, you just want to rename the www directory and put this in the root's .htaccess file:
Redirect permanent /www http://example.com/forums
Change the domain to fit yours. I believe that should suffice.