Always Force to Redirect HTTPS URL

Posted by Prem Tiwari | Updated on | in 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 …