Created
April 23, 2017 23:31
-
-
Save fernandiez/312e1a8ad9832a07c45a5a82d5635707 to your computer and use it in GitHub Desktop.
Domain 301 redirection from HTTP to HTTPS
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
# Domain 301 redirection from HTTP to HTTPS | |
RewriteCond %{SERVER_PORT} 80 | |
RewriteRule ^(.*)$ https://www.yoursite.com/$1 [R=301,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment