Force your site to load securely with an .htaccess file

Forcing the domain to serve securely using HTTPS (for any site) The following forces any http request to be rewritten using https. For example, the following code forces a request to to load It also forces directly linked resources (images, css, etc.) to use https: RewriteEngine OnRewriteCond %{HTTPS} !=onRewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE] If this isn’t working … Read more

Pin It on Pinterest

Open chat