1 2 3 4 5 6 |
//Optional Keep Magento admin on the same url RewriteCond %{REQUEST_URI} !^/(admin) RewriteCond %{REQUEST_URI} !^/index.php/(admin) RewriteCond %{HTTP_HOST} ^www.oldstore.com$ [NC] RewriteRule ^(.*)$ https://www.newstore.com/$1 [L,R=301] |