Select Page

Force https on your website via the .htaccess file

You’ll find this information everywhere, I┬ájust wanted to document my favourite version which is generic and can be used in every .htaccess. Here we go: RewriteEngine On RewriteCond %{HTTPS} off RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]...