Browse Source

force https

main^2
= 6 months ago
parent
commit
e8ae928c8c
  1. 2
      .htaccess

2
.htaccess

@ -24,7 +24,7 @@ Options -Indexes
# Rewrite "www.example.com -> example.com" # Rewrite "www.example.com -> example.com"
RewriteCond %{HTTPS} !=on RewriteCond %{HTTPS} !=on
RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC] RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
RewriteRule ^ http://%1%{REQUEST_URI} [R=301,L] RewriteRule ^ https://%1%{REQUEST_URI} [R=301,L]
# Checks to see if the user is attempting to access a valid file, # Checks to see if the user is attempting to access a valid file,
# such as an image or css document, if this isn't true it sends the # such as an image or css document, if this isn't true it sends the

Loading…
Cancel
Save