hi, and happy xmas!
I want to move a site from one domain to another, so current is for example www.xxxinxxx.co.uk
to a new site that a) removes the IN from the url and also changes to a .com so www.xxxxx.com
so that all pages go to corresponding on new site.
What htacces would do this and where would i put in bps so all diverts? would it be CUSTOM CODE WP REWRITE LOOP START
something like after
# WP REWRITE LOOP START
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteEngine On
RewriteCond %{HTTP_HOST} ^olddomain.co.uk$ [OR]
RewriteCond %{HTTP_HOST} ^www.olddomain.co.uk$
RewriteRule (.*)$ http://www.newdomain.com/$1 [R=301,L]
i guess i can delete the old site just leave the htaccess there
Thanks