Skip to content

Latest commit

 

History

History
9 lines (9 loc) · 218 Bytes

htaccess.md

File metadata and controls

9 lines (9 loc) · 218 Bytes

redirect http to https

put this on top of .htacces in the webroot

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
</IfModule>