Anyone know the process for using htaccess to redirect an entire domain to another domain, so if you enter: www.a.com/file2.html Code (markup): it will instead redirect to: www.b.com/file2.html Code (markup): It would need to be a 301 redirect. Thanks.
Something like this RewriteEngine On RewriteCond %{HTTP_HOST} ^www\.a\.com$ [NC] RewriteRule ^/(.*)$ http://www.b.com/$1 [L,R=301] Code (markup):