I have a website with roughly 1K URLs. The website is moving to a different domain name. The URLs will be the exact same though, otherwise. I\'d like to incorporate an htacc
Place this rule in your DOCUMENT_ROOT/.htaccess file of domain.com:
DOCUMENT_ROOT/.htaccess
domain.com
RewriteEngine On RewriteCond %{HTTP_HOST} ^(?:www\.)domain\.com$ [NC] RewriteRule ^ http://newdomain.com%{REQUEST_URI} [L,R=301]