MacMost Q&A Forum • View All Forum QuestionsAsk a Question

Can You Explain a Bit About Safari’s “Too Many Redirects” Error?

I’ve looked online for answers, and have found many differing opinions to the reason why Safari gives the error message “Safari can’t open the page, too many redirects occurred,” from browser cache/cookies issues, to DNS routing, to server-related issues.
I’ve noticed this happening on the iPhone when trying to connect to a site that redirects users to different sites depending on what type of device they’re using. This doesn’t happen on all Safari browsers, nor does it seem to happen with other browsers.
Gary, can you cut through the clutter and talk about what actually may be happening when this error message appears?
Thanks!
—–
Jenny T.

Comments: 8 Responses to “Can You Explain a Bit About Safari’s “Too Many Redirects” Error?”

    12 years ago

    Well, the basic error means exactly what it says. For those that don't know, a redirect is when a web site automatically takes you away from the page you were on to another page. For example, you may go to example.com. But that page will automatically redirect users based on, say, their location. So US users go to example.com/usa.html and Canadian users go to example.com/canada.html. That's a redirect.
    Another reason may be due to the browser type. So one page for desktop users, another for mobile, etc.
    But web site may have a problem where it endlessly redirects someone. For instance, if you are in Brazil then the redirect may go to brazil.html. But the developer forgot to make a brazil.html, so it redirects to the home page, which then goes to brazil.html again, etc. Browsers can detect this and stop the endless loop, giving you instead a "too many redirects error."
    So why might this be happening? It depends on the web site and the specific situation. Cookies can enter into it as they are another piece of information like location or browser type. For instance, you go to a site and enter your zip code. That is saved in a cookie. Later, when you return to the web site it identifies that cookie and automatically tries to take you to a page using that zip code information. But an error occurs and it ends up going back to the original page and the loop begins. In that case, clearing that cookie solves the problem for the user, at least temporarily.

      Ankit
      12 years ago

      When I type [my domain] it goes to page
      [my domain]/index.php?app=home&mod=Public&act=login

      this gives error in safari ipad says too many redirect.

      What changes I have to make on my website to make it available on ipad.

      Regards,
      Ankit

        12 years ago

        Hard to say. It isn't the sort of thing that has a simple answer -- you'd have to investigate and see exactly what your server is doing, how and why.

    Jenny T.
    12 years ago

    Thanks for the clarification, Gary! Very helpful.

    Hoss
    12 years ago

    How do I get cookies to not redirect and stall computer

      12 years ago

      The cookies don't redirect anything. They are just bits of information. If a web site is misbehaving and causing this error, then clearing the cookies for that site may help the situation as it will then appear to the site that you are visiting for the first time. See http://macmost.com/browser-cookies.html

    Danny
    11 years ago

    My iPod touch has never encountered the "too many redirects" problem until now. I have gone on the website countless times, but it all of a sudden shows me this error message. I have cleared the cookies and the cache, but I don't know what else to do.

    -Danny

      11 years ago

      Is it happening with just one site, or many sites? If it is just one site, then it is almost certainly a problem with that web site, not on your end.

Comments Closed.