htaccess Force https

If someone comes to your site with a non-secure link it will not render as secure. You can add a couple lines to your htaccess that will force a secure connection. After the “RewriteEngine On” line, put the following 2 lines. Be sure to change “example” to your domain.

 

Leave a Reply

Your email address will not be published. Required fields are marked *

31 − 27 =