Created
July 4, 2018 21:05
-
-
Save garagemwp/6464666240f41c6c61a65e95bba11a5e to your computer and use it in GitHub Desktop.
Redirecionamento 301 de http para 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
#Redirection code starts | |
RewriteEngine On | |
RewriteCond %{HTTPS} off | |
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] | |
#Redirection code Ends |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment