Quote:
Originally Posted by veenuisthebest
The better way is to keep your old domains's nameservers same as new one, and add it as a parked domain in cpanel.
And add this in htaccess:-
Code:
RewriteEngine On
RewriteCond %{HTTP_HOST} !^newdomain\.com$
RewriteRule ^(.*)$ http://newdomain.com/$1 [L,R=301]
This will take care of everything. All old URL's would point to exact same location in new domain, it will also take care of www vs non-www issue.
|
Hey thanks i did this my but still the same
RewriteEngine On
RewriteCond %{HTTP_HOST} ^animeisland.co.uk$
RewriteRule ^(.*)$ http\:\/\/www\.myanimeisland\.com\/forums$1 [L,R=301]