Last active
November 4, 2017 13:10
-
-
Save graylaurenm/f452e53f9030d12a1c3d8a3ce3ff68fc to your computer and use it in GitHub Desktop.
Redirect to HTTPS
This file contains 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
# @see https://really-simple-ssl.com/knowledge-base/manually-insert-htaccess-redirect-http-to-https/ | |
# BEGIN Redirect to HTTPS | |
RewriteEngine On | |
RewriteCond %{HTTPS} off | |
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] | |
# END Redirect to HTTPS |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment