I’m trying to redirect all insecure HTTP requests on my site (e.g. http://www.example.com) to HTTPS (https://www.example.com). How can I do this in .htaccess file?

By the way, I’m using PHP.

29 Answers
29

Leave a Reply

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