Created
December 4, 2017 14:17
-
-
Save michalsen/ed90a52a2ec889f44ad4baa4137ef8ee 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
RewriteEngine on | |
RewriteCond %{HTTP_HOST} ^site.net [NC,OR] | |
RewriteCond %{HTTP_HOST} ^www.site.net [NC] | |
RewriteRule ^(.*)$ http://www.site.com/$1 [L,R=301,NC] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment