Redirect from one host to another using Apache htaccess

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]
0 0 votes
Article Rating

Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

0
Would love your thoughts, please comment.x
()
x