Created
May 29, 2014 13:41
-
-
Save mallamanis/bc2f2dbe8299f1075c0c to your computer and use it in GitHub Desktop.
force 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
#put the code below into your .htaccess file to force https | |
Options +SymLinksIfOwnerMatch | |
RewriteEngine On | |
RewriteCond %{SERVER_PORT} !=443 | |
RewriteRule ^ https://lowesthost.com%{REQUEST_URI} [R,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment