Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Enforce HTTPS and use non-www
- # This checks to make sure the connection is not already HTTPS
- RewriteCond %{SERVER_PORT} !^443$
- RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]
Advertisement