• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Too many redirects on website

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    Too many redirects on website

    *****IGNORE - Foundy de problemo!

    A web page that I haven't altered for years and has always worked ok is suddenly showing error ERR_TOO_MANY_REDIRECTS and I can't find any reason for it. Haven't changed any site settings.

    It is a desktop only page so no alternate mobile version. Tried clearing cookies and commenting out all links to other pages in case one was sending it back again. No redirects in htaccess.

    Any brill CUK ideas on this? You lot are much better than Google. Cheers.
    Last edited by xoggoth; 23 September 2024, 18:59.
    bloggoth

    If everything isn't black and white, I say, 'Why the hell not?'
    John Wayne (My guru, not to be confused with my beloved prophet Jeremy Clarkson)

    #2
    Might be worth trying a different browser to rule out a browser problem.

    Comment


      #3
      Cheers woody but same in Edge, Chrome and Firefox.

      Found a redirect checker and it shows a list:
      # URL Code Description Visit
      1 https://www.mysite.org/ 302 Found
      2 https://www.mysite.org/index.html 301 Moved Permanently
      3 https://www.mysite.org/ 302 Found
      4 https://www.mysite.org/index.html 301 Moved Permanently
      etc etc

      Notice the url changes between site and site/index.html in the browser box.
      Last edited by xoggoth; 23 September 2024, 18:58.
      bloggoth

      If everything isn't black and white, I say, 'Why the hell not?'
      John Wayne (My guru, not to be confused with my beloved prophet Jeremy Clarkson)

      Comment


        #4
        Ah! Found the problem, there was a file index.php:

        <?php
        header("location:https://mysite/index.html");
        ?>

        Dunno why that existed or why it never caused a problem before.
        bloggoth

        If everything isn't black and white, I say, 'Why the hell not?'
        John Wayne (My guru, not to be confused with my beloved prophet Jeremy Clarkson)

        Comment

        Working...
        X