Infinite loop using page rules

Recently I’ve added a new domain to my account. While setting up I’ve pretty much accepted most of the recommendations from cloudflare. Later I’ve modified DNS settings and added a CNAME for www pointing to ghs.googlehosted.com and an A record for @ pointing to 192.0.2.1. Both with proxy on. I’ve later on added a forwarding rule from example.com/* to https://www.example.com/$1.

Now if I go to https://www.example.com/ I get this error: ERR_TOO_MANY_REDIRECTS. Looking into the console it looks like there are many 301 redirects. And if I go to https://example.com/, I get DNS_PROBE_FINISHED_NXDOMAIN.

I tried almost everything I could find online, but there might be some other setting that I might have just accepted as recommended (however I doubt that also). What else should I try?

Make sure your encryption mode is Full Strict.

Thanks! Looks like it solved the redirect, but example.com is not yet redirecting to www.example.com.

What’s the domain?

dasconfort.ro

Redirects fine

image

Probably a browser cache issue

You’re right! Thank you very much for your help!

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