My site is show error ERR_TOO_MANY_REDIRECTS

My website is run under Cloudflare Page and not use Custom Domain. I try to clear cookie and browser data too many time and still be not work.

Do you have any rules in your _redirects file? Something like /* / or /* / 200? If not, could you please share the name of your subdomain and your custom domain?

Thanks for your reply. I set rule in _redirects file (My Project app is in React JS) as

/*    /index.html   200

That rule would cause an infinite redirect. /* matches any path, including /index.html, so Pages will keep redirecting to /index.html over and over until your browser returns that error. What is it you are trying to achieve?

I ever found error 404 everytime when refresh page (Refresh page button or f5) before I added _redirects file to solve it.

Do you have an index.html file? What does your directory structure/build settings look like?

Hey, I try to delete _redirects file from your suggestion and It’s work now.

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