Too Many Redirects after Force Https

Too many redirect error on the site after improperly forcing https (user error). Went through all the steps here
as well as modifying .htacess files.

Was able to restore /wp-admin but still unable to stop the loop on the site. Please help.

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g., so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is:

I ran this command:
force https function on WP Encryption plugin

It produced this output:
Initially both the website and /wp-admin were unable to load due to too many redirects. Was able to restore access to /wp-admin but the website still won’t load with the same too many redirects error.

My web server is (include version):

The operating system my web server runs on is (include version):
WP 5.4

My hosting provider, if applicable, is:

I can login to a root shell on my machine (yes or no, or I don’t know):

I’m using a control panel to manage my site (no, or provide the name and version of the control panel):
cPanel 78.0.38

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot):

1 Like

Hi @fuckutina

looks like you have removed the redirect.

Checking your domain via - there is no redirect.

Domainname Http-Status redirect Sec. G 301 0.670 D GZip used - 16143 / 106237 - 84,80 % 200 Html is minified: 399,64 % 1.677 H 301 2.864 F GZip used - 16143 / 106237 - 84,80 % Inline-JavaScript (∑/total): 6/5493 Inline-CSS (∑/total): 5/71302 200 Html is minified: 399,64 % 3.350 I

But there are a lot of wrong things - Grade D, H, F and I.

And you have a redirect https -> http (Grade F), so if you add a redirect http -> https, that’s a loop.

So find and remove that redirect.

PS: Normally you shouldn’t mix redirects via redirect rules with .htaccess redirects. And you have a lot of mixed content (http links) you should change.

1 Like

Thanks so much for the reply. Fixing the rest of the redirects now.


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.