Tag .htaccess

How to force SSL with .htaccess

How to force SSL with .htaccess You can force an HTTPS connection on your website by adding these rules in your website’s .htaccess file: RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ [R=301,L] If your website is in a subfolder,…