Permanent Redirect old domain URLs to corresponding New Domain URLs

Add following code block in .htaccess file on old domain root directory. It will do the job.

RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !www.myhomeinvieste.com$ [NC]
RewriteRule ^(.*)$ http://www.myhomeinvieste.com/$1 [L,R=301] 
adminPermanent Redirect old domain URLs to corresponding New Domain URLs
Share this post

Join the conversation