Created
May 10, 2016 10:08
-
-
Save Debadge/71ad687bfec8486cd0543f017739416d to your computer and use it in GitHub Desktop.
301 Redirect HTTPS back to HTTP
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
# HTTPS back to HTTP Redirect | |
RewriteEngine On | |
RewriteBase / | |
RewriteCond %{HTTPS} on [OR] | |
RewriteCond %{SERVER_PORT} ^443$ [OR] | |
RewriteCond %{HTTP:X-Forwarded-Proto} https | |
RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment