Too many redirect issue wordpress

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: GIANKUMAR.COM

I ran this command: I RENEWED THE SSL

It produced this output: RENEWAL OF SSL IS SUCCESSFUL BUT MY WEBSITE IS NOT WORKING

My web server is (include version): GOOGLE CLOUD WORDPRESS

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

My hosting provider, if applicable, is:

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

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

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

Resolving www.giankumar.com (www.giankumar.com)... 34.93.174.157
Connecting to www.giankumar.com (www.giankumar.com)|34.93.174.157|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://www.giankumar.com/ [following]
--2019-12-23 10:01:52--  https://www.giankumar.com/
Reusing existing connection to www.giankumar.com:443.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://www.giankumar.com/ [following]
--2019-12-23 10:01:52--  https://www.giankumar.com/
Reusing existing connection to www.giankumar.com:443.

it try to redirect to itself, it can’t work.

Thanks for your message Please help me out what should i do. Im not too much technical

1 Like

it’s a vps, only you and god know how you installed your wordpress on google cloud (VPS), and I think now only god knows.

Hi @poniaajay

checking your domain you see the problem - https://check-your-website.server-daten.de/?q=giankumar.com

Domainname Http-Status redirect Sec. G
http://giankumar.com/ 34.93.174.157 301 https://giankumar.com/ Html is minified: 100,00 % 0.750 A
http://www.giankumar.com/ 34.93.174.157 301 https://www.giankumar.com/ Html is minified: 100,00 % 0.750 A
https://giankumar.com/ 34.93.174.157 301 https://www.giankumar.com/ Html is minified: 100,00 % 10.154 B
https://www.giankumar.com/ 34.93.174.157 301 https://www.giankumar.com/ Html is minified: 100,00 % 9.874 L

https + non-www redirects to https + www, that’s ok.

But https + www redirects to https + www, that’s a direct loop you have created.

So remove that wrong redirect. May be your wordpress, htaccess or your Rewrite rule.

1 Like

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