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 https://wordpress.org/support/topic/locked-out-unable-to-access-site-after-forcing-https-2/
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. https://crt.sh/?q=example.com), 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):
N/A

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

My hosting provider, if applicable, is:
Godaddy

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

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):
N/A

1 Like

Hi @fuckutina

looks like you have removed the redirect.

Checking your domain via https://check-your-website.server-daten.de/?q=seattlechem.com - there is no redirect.

Domainname Http-Status redirect Sec. G
http://www.seattlechem.com/ 192.124.249.55 301 http://seattlechem.com/ 0.670 D
http://seattlechem.com/ 192.124.249.55 GZip used - 16143 / 106237 - 84,80 % 200 Html is minified: 399,64 % 1.677 H
https://www.seattlechem.com/ 192.124.249.55 301 http://seattlechem.com/ 2.864 F
https://seattlechem.com/ 192.124.249.55 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.

2 Likes

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