Redirect HTTP to HTTPS
Adding this simple code to your .htaccess file will force all links to your site that are HTTP to redirect to HTTPS. Having an SSL certificate doesn’t automatically do this for you.
Adding this simple code to your .htaccess file will force all links to your site that are HTTP to redirect to HTTPS. Having an SSL certificate doesn’t automatically do this for you.