How to fix ERR_TOO_MANY_REDIRECTS?

i get ERR_TOO_MANY_REDIRECTS. and nothing of former topics worked.
my domain is shop.imeo-official.com
please help to fix it

Can you explain what of this you have tried and the outcomes?

I tried to change the ssl type in Cloudflare dashboard to different values but it didn’t work

When you say it didn’t work, what did you get when you set it to Full?

the same error
now it is set to Full
(not to Full(strict))

Have you tried all the steps in that linked article?

yes
i tried them all

Do you have any page rules configured in Cloudflare?

yes, it is set up based on what is on instructions and recommended rules.
btw my original domain imeo-official.com and other subdomains like academy.imeo-official.com work as well
i use wordpress for them
but for this one i tried to use Prestashop and it only opens the admin end

Is there a redirect page rule?

It is looping between 301 and 302 but both appear to be coming from Cloudflare.

Redirects

>>> http://shop.imeo-official.com/

> --------------------------------------------
> 301 Moved Permanently
> --------------------------------------------

Status: 301 Moved Permanently
Code: 301
Date: Sat, 16 Feb 2019 19:53:32 GMT
Connection: close
Cache-Control: max-age=3600
Expires: Sat, 16 Feb 2019 20:53:32 GMT
Location: https://shop.imeo-official.com/
Server: Cloudflare
CF-RAY: 4aa28f996e2597b6-FRA

>>> https://shop.imeo-official.com/

> --------------------------------------------
> 302 Found
> --------------------------------------------

Status: 302 Found
Code: 302
Date: Sat, 16 Feb 2019 19:53:32 GMT
Content-Type: text/html; charset=utf-8
Connection: close
Set-Cookie: __cfduid=ded38d58d4f6a41327d046d166137e73f1550346812; expires=Sun, 16-Feb-20 19:53:32 GMT; path=/; domain=.imeo-official.com; HttpOnly; Secure
X-Powered-By: PHP/7.3.2
Cache-Control: no-cache, no-store, must-revalidate, max-age=0
Location: http://shop.imeo-official.com/
Vary: User-Agent
X-Turbo-Charged-By: LiteSpeed
Strict-Transport-Security: max-age=0; includeSubDomains
Expect-CT: max-age=604800, report-uri=“https://report-uri.Cloudflare.com/cdn-cgi/beacon/expect-ct”
Server: Cloudflare
CF-RAY: 4aa28f99cc1e97b0-FRA

>>> http://shop.imeo-official.com/

> --------------------------------------------
> 301 Moved Permanently
> --------------------------------------------

Status: 301 Moved Permanently
Code: 301
Date: Sat, 16 Feb 2019 19:53:32 GMT
Connection: close
Cache-Control: max-age=3600
Expires: Sat, 16 Feb 2019 20:53:32 GMT
Location: https://shop.imeo-official.com/
Server: Cloudflare
CF-RAY: 4aa28f9c8cef97b6-FRA

>>> https://shop.imeo-official.com/

> --------------------------------------------
> 302 Found
> --------------------------------------------

Status: 302 Found
Code: 302
Date: Sat, 16 Feb 2019 19:53:33 GMT
Content-Type: text/html; charset=utf-8
Connection: close
Set-Cookie: __cfduid=d2a0e2e1083e63a3506e3fbdd08e48f7f1550346812; expires=Sun, 16-Feb-20 19:53:32 GMT; path=/; domain=.imeo-official.com; HttpOnly; Secure
X-Powered-By: PHP/7.3.2
Cache-Control: no-cache, no-store, must-revalidate, max-age=0
Location: http://shop.imeo-official.com/
Vary: User-Agent
X-Turbo-Charged-By: LiteSpeed
Strict-Transport-Security: max-age=0; includeSubDomains
Expect-CT: max-age=604800, report-uri=“https://report-uri.Cloudflare.com/cdn-cgi/beacon/expect-ct”
Server: Cloudflare
CF-RAY: 4aa28f9cef3497ce-FRA

>>> http://shop.imeo-official.com/

> --------------------------------------------
> 301 Moved Permanently
> --------------------------------------------

Status: 301 Moved Permanently
Code: 301
Date: Sat, 16 Feb 2019 19:53:33 GMT
Connection: close
Cache-Control: max-age=3600
Expires: Sat, 16 Feb 2019 20:53:33 GMT
Location: https://shop.imeo-official.com/
Server: Cloudflare
CF-RAY: 4aa28f9dcd6d9798-FRA

>>> https://shop.imeo-official.com/

> --------------------------------------------
> 302 Found
> --------------------------------------------

Status: 302 Found
Code: 302
Date: Sat, 16 Feb 2019 19:53:33 GMT
Content-Type: text/html; charset=utf-8
Connection: close
Set-Cookie: __cfduid=d7f02e434971aabf47c4d1482118171f81550346813; expires=Sun, 16-Feb-20 19:53:33 GMT; path=/; domain=.imeo-official.com; HttpOnly; Secure
X-Powered-By: PHP/7.3.2
Cache-Control: no-cache, no-store, must-revalidate, max-age=0
Location: http://shop.imeo-official.com/
Vary: User-Agent
X-Turbo-Charged-By: LiteSpeed
Strict-Transport-Security: max-age=0; includeSubDomains
Expect-CT: max-age=604800, report-uri=“https://report-uri.Cloudflare.com/cdn-cgi/beacon/expect-ct”
Server: Cloudflare
CF-RAY: 4aa28f9e181397a4-FRA

>>> http://shop.imeo-official.com/

> --------------------------------------------
> 301 Moved Permanently
> --------------------------------------------

Status: 301 Moved Permanently
Code: 301
Date: Sat, 16 Feb 2019 19:53:33 GMT
Connection: close
Cache-Control: max-age=3600
Expires: Sat, 16 Feb 2019 20:53:33 GMT
Location: https://shop.imeo-official.com/
Server: Cloudflare
CF-RAY: 4aa28f9f148c97b0-FRA

>>> https://shop.imeo-official.com/

> --------------------------------------------
> 302 Found
> --------------------------------------------

Status: 302 Found
Code: 302
Date: Sat, 16 Feb 2019 19:53:33 GMT
Content-Type: text/html; charset=utf-8
Connection: close
Set-Cookie: __cfduid=d0386268bd54fe942939c4baf9d2a447c1550346813; expires=Sun, 16-Feb-20 19:53:33 GMT; path=/; domain=.imeo-official.com; HttpOnly; Secure
X-Powered-By: PHP/7.3.2
Cache-Control: no-cache, no-store, must-revalidate, max-age=0
Location: http://shop.imeo-official.com/
Vary: User-Agent
X-Turbo-Charged-By: LiteSpeed
Strict-Transport-Security: max-age=0; includeSubDomains
Expect-CT: max-age=604800, report-uri=“https://report-uri.Cloudflare.com/cdn-cgi/beacon/expect-ct”
Server: Cloudflare
CF-RAY: 4aa28f9f5ceb97ce-FRA

>>> http://shop.imeo-official.com/

> --------------------------------------------
> 301 Moved Permanently
> --------------------------------------------

Status: 301 Moved Permanently
Code: 301
Date: Sat, 16 Feb 2019 19:53:33 GMT
Connection: close
Cache-Control: max-age=3600
Expires: Sat, 16 Feb 2019 20:53:33 GMT
Location: https://shop.imeo-official.com/
Server: Cloudflare
CF-RAY: 4aa28f9ffb3564b7-FRA

>>> https://shop.imeo-official.com/

> --------------------------------------------
> 302 Found
> --------------------------------------------

Status: 302 Found
Code: 302
Date: Sat, 16 Feb 2019 19:53:33 GMT
Content-Type: text/html; charset=utf-8
Connection: close
Set-Cookie: __cfduid=db64506f3addf60b5c0cb022c640afc381550346813; expires=Sun, 16-Feb-20 19:53:33 GMT; path=/; domain=.imeo-official.com; HttpOnly; Secure
X-Powered-By: PHP/7.3.2
Cache-Control: no-cache, no-store, must-revalidate, max-age=0
Location: http://shop.imeo-official.com/
Vary: User-Agent
X-Turbo-Charged-By: LiteSpeed
Strict-Transport-Security: max-age=0; includeSubDomains
Expect-CT: max-age=604800, report-uri=“https://report-uri.Cloudflare.com/cdn-cgi/beacon/expect-ct”
Server: Cloudflare
CF-RAY: 4aa28fa03ab564d5-FRA

>>> http://shop.imeo-official.com/

> --------------------------------------------
> 301 Moved Permanently
> --------------------------------------------

Status: 301 Moved Permanently
Code: 301
Date: Sat, 16 Feb 2019 19:53:33 GMT
Connection: close
Cache-Control: max-age=3600
Expires: Sat, 16 Feb 2019 20:53:33 GMT
Location: https://shop.imeo-official.com/
Server: Cloudflare
CF-RAY: 4aa28fa0d54897b0-FRA

>>> https://shop.imeo-official.com/

> --------------------------------------------
> 302 Found
> --------------------------------------------

Status: 302 Found
Code: 302
Date: Sat, 16 Feb 2019 19:53:33 GMT
Content-Type: text/html; charset=utf-8
Connection: close
Set-Cookie: __cfduid=d84b77c718082d92cad68bd94c59c36a11550346813; expires=Sun, 16-Feb-20 19:53:33 GMT; path=/; domain=.imeo-official.com; HttpOnly; Secure
X-Powered-By: PHP/7.3.2
Cache-Control: no-cache, no-store, must-revalidate, max-age=0
Location: http://shop.imeo-official.com/
Vary: User-Agent
X-Turbo-Charged-By: LiteSpeed
Strict-Transport-Security: max-age=0; includeSubDomains
Expect-CT: max-age=604800, report-uri=“https://report-uri.Cloudflare.com/cdn-cgi/beacon/expect-ct”
Server: Cloudflare
CF-RAY: 4aa28fa1185997bc-FRA

>>> http://shop.imeo-official.com/

> --------------------------------------------
> 301 Moved Permanently
> --------------------------------------------

Status: 301 Moved Permanently
Code: 301
Date: Sat, 16 Feb 2019 19:53:33 GMT
Connection: close
Cache-Control: max-age=3600
Expires: Sat, 16 Feb 2019 20:53:33 GMT
Location: https://shop.imeo-official.com/
Server: Cloudflare
CF-RAY: 4aa28fa1b0e0978c-FRA

>>> https://shop.imeo-official.com/

> --------------------------------------------
> 302 Found
> --------------------------------------------

Status: 302 Found
Code: 302
Date: Sat, 16 Feb 2019 19:53:33 GMT
Content-Type: text/html; charset=utf-8
Connection: close
Set-Cookie: __cfduid=d0386268bd54fe942939c4baf9d2a447c1550346813; expires=Sun, 16-Feb-20 19:53:33 GMT; path=/; domain=.imeo-official.com; HttpOnly; Secure
X-Powered-By: PHP/7.3.2
Cache-Control: no-cache, no-store, must-revalidate, max-age=0
Location: http://shop.imeo-official.com/
Vary: User-Agent
X-Turbo-Charged-By: LiteSpeed
Strict-Transport-Security: max-age=0; includeSubDomains
Expect-CT: max-age=604800, report-uri=“https://report-uri.Cloudflare.com/cdn-cgi/beacon/expect-ct”
Server: Cloudflare
CF-RAY: 4aa28fa1f95697ce-FRA

>>> http://shop.imeo-official.com/

> --------------------------------------------
> 301 Moved Permanently
> --------------------------------------------

Status: 301 Moved Permanently
Code: 301
Date: Sat, 16 Feb 2019 19:53:33 GMT
Connection: close
Cache-Control: max-age=3600
Expires: Sat, 16 Feb 2019 20:53:33 GMT
Location: https://shop.imeo-official.com/
Server: Cloudflare
CF-RAY: 4aa28fa29a2397a4-FRA

>>> https://shop.imeo-official.com/

> --------------------------------------------
> 302 Found
> --------------------------------------------

Status: 302 Found
Code: 302
Date: Sat, 16 Feb 2019 19:53:34 GMT
Content-Type: text/html; charset=utf-8
Connection: close
Set-Cookie: __cfduid=d20013fbbebf8c75eeeb8b6ff7d591ff01550346813; expires=Sun, 16-Feb-20 19:53:33 GMT; path=/; domain=.imeo-official.com; HttpOnly; Secure
X-Powered-By: PHP/7.3.2
Cache-Control: no-cache, no-store, must-revalidate, max-age=0
Location: http://shop.imeo-official.com/
Vary: User-Agent
X-Turbo-Charged-By: LiteSpeed
Strict-Transport-Security: max-age=0; includeSubDomains
Expect-CT: max-age=604800, report-uri=“https://report-uri.Cloudflare.com/cdn-cgi/beacon/expect-ct”
Server: Cloudflare
CF-RAY: 4aa28fa2d9a9978c-FRA

>>> http://shop.imeo-official.com/

> --------------------------------------------
> 301 Moved Permanently
> --------------------------------------------

Status: 301 Moved Permanently
Code: 301
Date: Sat, 16 Feb 2019 19:53:35 GMT
Connection: close
Cache-Control: max-age=3600
Expires: Sat, 16 Feb 2019 20:53:35 GMT
Location: https://shop.imeo-official.com/
Server: Cloudflare
CF-RAY: 4aa28fa9b316c29c-FRA

>>> https://shop.imeo-official.com/

> --------------------------------------------
> 302 Found
> --------------------------------------------

Status: 302 Found
Code: 302
Date: Sat, 16 Feb 2019 19:53:35 GMT
Content-Type: text/html; charset=utf-8
Connection: close
Set-Cookie: __cfduid=d21fa7352df60369866965995115962511550346815; expires=Sun, 16-Feb-20 19:53:35 GMT; path=/; domain=.imeo-official.com; HttpOnly; Secure
X-Powered-By: PHP/7.3.2
Cache-Control: no-cache, no-store, must-revalidate, max-age=0
Location: http://shop.imeo-official.com/
Vary: User-Agent
X-Turbo-Charged-By: LiteSpeed
Strict-Transport-Security: max-age=0; includeSubDomains
Expect-CT: max-age=604800, report-uri=“https://report-uri.Cloudflare.com/cdn-cgi/beacon/expect-ct”
Server: Cloudflare
CF-RAY: 4aa28faa09d764e1-FRA

>>> http://shop.imeo-official.com/

> --------------------------------------------
> 301 Moved Permanently
> --------------------------------------------

Status: 301 Moved Permanently
Code: 301
Date: Sat, 16 Feb 2019 19:53:35 GMT
Connection: close
Cache-Control: max-age=3600
Expires: Sat, 16 Feb 2019 20:53:35 GMT
Location: https://shop.imeo-official.com/
Server: Cloudflare
CF-RAY: 4aa28faadd0297a4-FRA

>>> https://shop.imeo-official.com/

> --------------------------------------------
> 302 Found
> --------------------------------------------

Status: 302 Found
Code: 302
Date: Sat, 16 Feb 2019 19:53:35 GMT
Content-Type: text/html; charset=utf-8
Connection: close
Set-Cookie: __cfduid=d4e962714a545abe6f7c3147c8c5b2bdc1550346815; expires=Sun, 16-Feb-20 19:53:35 GMT; path=/; domain=.imeo-official.com; HttpOnly; Secure
X-Powered-By: PHP/7.3.2
Cache-Control: no-cache, no-store, must-revalidate, max-age=0
Location: http://shop.imeo-official.com/
Vary: User-Agent
X-Turbo-Charged-By: LiteSpeed
Strict-Transport-Security: max-age=0; includeSubDomains
Expect-CT: max-age=604800, report-uri=“https://report-uri.Cloudflare.com/cdn-cgi/beacon/expect-ct”
Server: Cloudflare
CF-RAY: 4aa28fab19f464b1-FRA

there are 7 redirects but i cannot remove them
in cpanel
i mean i remove but then i see there still is 7 redirects
how can i remove?

Are these Cloudflare page rules or on your server cPanel?

on cpanel
here you can see them

It looked to me like the redirect loop was coming from Cloudflare. Do you have any redirect page rules there?

If not, it would be worth trying to remove the cPanel redirects if they could affect that subdomain. Do you have one from https to http? I am not sure how you would remove those, you would probably need to contact your host for help with that.

Edit:
Never seen redirects like that in cPanel before, not sure if they would affect it.

as u see no

note that these redirects were added by default after installing prestashop and cannot be removed manually
i am trying to remove them from the .htaccess side
edit: editing .htaccess file didn’t work

I am struggling to think of where else they could be coming from on Cloudflare as they suggest. Something is redirecting from https back to http. Maybe someone else has an idea. Sorry I couldn’t be of more help.

Why do you think the redirect comes from CF? We specifically see in the headers that the request was “Turbo Charged” by LiteSpeed. Which means the request went all the way to LiteSpeed, no?

Browsing to a URL under the main domain as HTTPS - works fine. Passing GET variables on the main URL redirects with the variables back to HTTP. This is like a CF feature (“make all links https”) but in reverse - but that is a feature I do not recall seeing.

Maybe the site app as some “baseurl” setting and it redirects to the baseurl if it is different than what is expected - so if the baseurl is http:// and the client comes as https:// … ?

1 Like

Because I am not entirely awake and only read the server row :joy:

Guys
My host says this is from Cloudflare ssl. What should I do? Almost all of the ssl certificates from Cloudflare doesn’t answer :sob:

Solution:
I deactivated the universal Cloudflare ssl and went to Prestashop dashboard to settings. Then enabled the ssl for the shop and reactivated ssl.
Enjoy it and thanks for your help guys

1 Like