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.
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.