m1ne Well-known member Mar 23, 2014 #1 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
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
Amaury Well-known member Mar 23, 2014 #3 Solidus said: Problem solved. Click to expand... For others that may come across this issue, it would be helpful if you would post what the solution was. Upvote 0 Downvote
Solidus said: Problem solved. Click to expand... For others that may come across this issue, it would be helpful if you would post what the solution was.
TPerry Well-known member Mar 23, 2014 #4 Amaury said: For others that may come across this issue, it would be helpful if you would post what the solution was. Click to expand... 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. Upvote 0 Downvote
Amaury said: For others that may come across this issue, it would be helpful if you would post what the solution was. Click to expand... 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.