Too many redirects occurred. How?

I received a message from Google that my page indexing needs fixing. When going to the domain https://quatrainfotographic.com an error message appears saying something like, “…too many redirects occurred” or “ERR_TOO_MANY_REDIRECTS”

I was working on updating galleries in one of the sub-domains over the weekend, https://archive.quatrainfotographic.com but didn’t update any files in the primary domain which operates with Backlight.

GoDaddy help said everything on their end appears to be functioning normal, and that there might be something in the .htacess file throwing the “looping error”.

I’m perplexed. Any thoughts would be appreciated.
Don

Have you cleared you clear your cookies as suggested in the error message, until official help arrives.

check your Backlight Settings under Privacy> Automatically Redirect Browsers To https

is this set to yes?

Hi Rod,
That was indeed set to ‘yes’.
Problem is, I can’t even Login to Backlight to double check or look into other aspects of what might have changed.
Don

Yep. Same thing happening on all other devices.
Don

@Ben will probably need to take a look, but these problems usually seem to come down to the .htaccess file in the root of the site.
You can try re-uploading it from the root of the unzipped Backlight-Installer download

OK, thanks. That makes sense.
Google returned these specific “examples” of redirect errors [there are six total]. Might there be anything that can be done with these pages / folders to resolve the errors?

https://quatrainfotographic.com/quires/asia/japan/single.php?id=DJW_20050517_02_TenjuanTemple

https://quatrainfotographic.com/quires/americas/nicaragua-project/DJW_20120724_13_NicaraguaPortrait-single.php

that’ll be a question for @Ben

Hi @donwa2, I’m not sure what could be causing this. Can you find the .htaccess at the top of your site and add the contents of it into a reply?

<If “%{HTTP_HOST} == ‘example.com’ || %{HTTP_HOST} == ‘www.example.com’”>
Require ip 208.109.0.0/22
Require ip 192.88.134.0/23
Require ip 185.93.228.0/22
Require ip 2a02:fe80::/29
Require ip 66.248.200.0/22


<FilesMatch “.(eot|font.css|otf|ttc|ttf|woff)$”>
Header set Access-Control-Allow-Origin “*”

RewriteEngine On
#RewriteCond %{REQUEST_URI}::$1 ^(.*?/)(.*)::\2$
#RewriteRule ^(.*)$ - [E=BASE:%1]
##RewriteRule ^(.*)$ - [E=BASE:]

RewriteBase /
RewriteCond $0#%{REQUEST_URI} ([^#]*)#(.*)\1$
RewriteRule ^.*$ - [E=BASE:%2]

RewriteRule ^(.*)$ - [E=QS:mod_rewrite=on]

RewriteRule ^([^\/.]*)-single.php$ %{ENV:BASE}single.php?%{ENV:QS}&id=$1 [QSA,L]

RewriteRule ^([^\/.]*).css$ %{ENV:BASE}index.php?%{ENV:QS}&extension=css&name=$1 [QSA,L]
RewriteRule ^([^\/.]*).js$ %{ENV:BASE}index.php?%{ENV:QS}&extension=js&name=$1 [QSA,L]
RewriteRule ^([^\/.]*).gif$ %{ENV:BASE}index.php?%{ENV:QS}&extension=gif&name=$1 [QSA,L]
RewriteRule ^([^\/.]*).png$ %{ENV:BASE}index.php?%{ENV:QS}&extension=png&name=$1 [QSA,L]
RewriteRule ^([^\/.]*).jpg$ %{ENV:BASE}index.php?%{ENV:QS}&extension=jpg&name=$1 [QSA,L]

#RewriteCond %{QUERY_STRING} !mod_rewrite=on
#RewriteRule ^index.php$ %{ENV:BASE}index.php?%{ENV:QS} [QSA,L]

RewriteCond %{QUERY_STRING} !mod_rewrite=on
RewriteRule ^mobile.php$ %{ENV:BASE}mobile.php?%{ENV:QS} [QSA,L]

RewriteCond %{QUERY_STRING} !mod_rewrite=on
RewriteRule ^(.*)download.php %{ENV:BASE}download.php?%{ENV:QS} [QSA,L]

#RewriteRule ^/?$ index.php [QSA,L]

RewriteRule ^$ %{ENV:BASE}index.php?%{ENV:QS} [QSA,L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^(.*)$ %{ENV:BASE}index.php?%{ENV:QS}&page=$1 [QSA,L]

Hi donwa2, thanks for that. I can’t see anything amiss with the .htaccess file. I’ve noticed that your site is now working at https://quatrainfotographic.com without redirecting. Have you changed anything to make this work?

Hi Ben,
This is a very peculiar situation.
I generated a full-site back up on the backside of my GoDaddy account about five days ago, and that’s when I discovered that the domain went dark — sometime shortly thereafter. Other than that, I didn’t make any changes to files. Glad it’s working now, but then it’s a bit of a worry not knowing exactly how or why this occurred.
Thanks very much for your time to look into this.
Don

Hi Don, I suspect that GoDaddy has changed something has changed on your server.
Hopefully this issue won’t crop up again, but if it does I’m happy to try to work out where the issue is coming from.