Redirect Loop Error When Redirecting http to https
I have installed an SSL certificate on my web domain and the https version of my site loads fine when I manually go to it.
In cPanel I went to the redirects section and tried to redirect all my http traffic to https. When I try to load the website now I get an infinite loop error. I have tried modifying the .htaccess file myself based on some different posts in these forums and nothing I seem to do works. Does anyone have any other suggestions?
Thanks.
-
There is most likely a PHP redirect happening, are you using a CMS like WordPress? 0 -
Hello :) Are there any other custom Mod_Rewrite rules in the .htaccess file that could be conflicting with the redirect you configured? Thank you. 0 -
redirect http to https redirect http to https .htaccess RewriteEngine On RewriteCond %{HTTPS} !on RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}0
Please sign in to leave a comment.
Comments
3 comments