Created
August 9, 2013 20:04
-
-
Save sewmyheadon/6196739 to your computer and use it in GitHub Desktop.
Redirect all pages from one domain to their counterpart on a new domain via .htaccess
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RewriteEngine on | |
RewriteRule ^(.*)$ http://www.newdomain.com/$1 [R=301,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment