Apache redirect http to https
I have install SSL for my domain. How to Apache redirect http to https on .htaccess file.
-
Hello :) This post should help: Force use of SSL Thank you. 0 -
Because the link that cPanelMichael posted did not resolve my issue I want to contribute some information about how I solved this. It should be noted that the out-of-the-box solution of cPanel writes some code in the .htaccess file that causes issues. These issues are typed as 'too_many_redirects'. The way I solved this is: RewriteCond %{HTTPS} off RewriteRule ^(.*)$ 0 -
I am happy to see you found an alternative solution. Thank you for updating us with the outcome. 0
Please sign in to leave a comment.
Comments
3 comments