Created
June 1, 2017 15:19
-
-
Save Hexodus/c1a873dd0a6cec7d8e0be2fb561ba112 to your computer and use it in GitHub Desktop.
Website redirect from http to https.
From http://t3n.de/news/wordpress-website-https-679876/
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
RewriteEngine On | |
RewriteCond %{HTTP_HOST} ^example\.com [NC] | |
RewriteCond %{SERVER_PORT} 80 | |
RewriteRule ^(.*)$ https://example.com/$1 [R,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment