XF 1.2 Redirecting url's to new domain

m1ne

Well-known member
Hi.

I've moved my site from domain1.com to forums.domain2.com - what shall I put in htaccess to redirect threads, members ect..?

Thanks
 
For others that may come across this issue, it would be helpful if you would post what the solution was.
Probably something similar to
Code:
RewriteCond %{HTTP_HOST} ^domain1.com$ [NC]
RewriteRule ^(.*)$ http://forums.domain2.com/$1 [R=301,L]
for that specific example. Of course, that doesn't take into account redirecting traffic to either www prefix or stripping www prefix.
 
Back
Top Bottom