Created
May 3, 2016 07:57
-
-
Save slobich/2c8e056f57977103e0c4b26223e86355 to your computer and use it in GitHub Desktop.
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
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteCond %{HTTP_HOST} ^old-domain.net$ [OR] | |
RewriteCond %{HTTP_HOST} ^www.old-domain.net$ | |
RewriteRule (.*)$ https://www.new-domain.com$1 [R=301,L] | |
</IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment