Always Force to Redirect HTTPS URL

Prem Tiwari - - Code Snippets

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.

About: Prem Tiwari

Prem Tiwari is the founder of and also a professional developer who has vast experience in PHP and open source technologies. Apart from this, he is a blogger by hobby and also he has been a regular speaker of WordPress sessions in various IT Companies.

Tags: , , , , ,

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.