Skip to main content

Apache redirect http to https

Comments

3 comments

  • cPanelMichael
    Hello :) This post should help: Force use of SSL Thank you.
    0
  • Jan-Paul
    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
  • cPanelMichael
    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.