Redirect from one host to another using Apache htaccess
RewriteCond %{HTTP_HOST} ^old-domain.com$ [NC] RewriteRule ^(.*)$ http://www.new-domain.com/$1 [R=301,L]
Redirect from one host to another using Apache htaccess
RewriteCond %{HTTP_HOST} ^old-domain.com$ [NC] RewriteRule ^(.*)$ http://www.new-domain.com/$1 [R=301,L]