Always Force to Redirect HTTPS URL

If you have recently moved your website to HTTPS from HTTP and facing the mixed content issues, or some of your site URLs are still redirected to HTTP, then you can use the below code snippets in your .htacess file.

Always Force to Redirect HTTPS URL

This htacess code will always force to redirect HTTPS URL of your websites.

If your website has developed on WordPress CMS (Content Management System), then you can also install the Really Simple SSL WordPress pluugin. After installation and activated, navigate to the Settings => SSL to configure this plugin.

Really Simple SSL

Do you like & share this article with your friends, and don’t forget to follow us on Facebook and Twitter to learn cool tutorials.

If you like FreeWebMentor and you would like to contribute, you can write an article and mail your article to [email protected] Your article will appear on the FreeWebMentor main page and help other developers.

Recommended Posts:

Article Tags: , , , , ,