Created
June 15, 2017 21:06
-
-
Save cipriantepes/926eb03a6c8bde5f989698234d6d9735 to your computer and use it in GitHub Desktop.
WordPress redirect to secure non-www
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
RewriteCond %{ENV:HTTPS} !=on | |
RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment