kankan
Well-known member
Hello,
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?
Thanks for support.
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?
Code:
#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.