1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Infinite Redirect Loop

Discussion in 'White Hat SEO' started by spider4567, Feb 21, 2017.

  1. spider4567

    spider4567 Regular Member

    Joined:
    Jan 5, 2016
    Messages:
    484
    Likes Received:
    30
    Was going to do a freelance job, so i am currently doing onpage SEO for the domain using Netpeak Checker, Raven SEO & Screaming Frog but netpeak and raven stated that this domain has endless/infinite redirect loop so it unables to crawl the domain to analyse its pages.

    Anyone encounter this issue before? How to solve this?
     
  2. Marienne

    Marienne Newbie

    Joined:
    Oct 27, 2015
    Messages:
    8
    Likes Received:
    1
    Guess you'd better use netpeak spider not checker to crawl your website. Spider goes deep into the website structure to analyze all pages and checker just checks the urls you've specified.
    And as for your issue, can you open the website in a browser? If it has a redirect loop, you won't be able. Did you try different User Agents, IPs? Based on my experience, it matters.
    You can tell me the website address and I'll have a look.
     
  3. spider4567

    spider4567 Regular Member

    Joined:
    Jan 5, 2016
    Messages:
    484
    Likes Received:
    30
    Hi, thanks for replying. OK I will use it to check later. And I able to load the website
     
  4. seomotionz

    seomotionz Registered Member

    Joined:
    Mar 5, 2016
    Messages:
    70
    Likes Received:
    11
    Gender:
    Male
    I agree if it is in an in infinite loop then the site won't be visible. It will take some time of 'loading and loading'. And then it will say 'time out.'
     
  5. spider4567

    spider4567 Regular Member

    Joined:
    Jan 5, 2016
    Messages:
    484
    Likes Received:
    30
    PMed you
     
  6. I know SEO

    I know SEO Marketplace Mod Moderator

    Joined:
    Nov 29, 2012
    Messages:
    15,722
    Likes Received:
    6,108
    Go through the .htaccess file and look for two (or more) pages that redirect to each other.

    Your tools should tell you where these redirects are?
     
  7. spider4567

    spider4567 Regular Member

    Joined:
    Jan 5, 2016
    Messages:
    484
    Likes Received:
    30
    Not really sure about it, i have used screaming frog to check
    But the redirections are from Point A to B then Point B to B

    Weird enough till i do not understand. And i did not request to access .htaccess file from my client since i thought of asking around here first. I have told him that his site unable to spidered by screaming frog nor netpeak spider, but he seems to doubt about it.
     
  8. The Scarlet Pimp

    The Scarlet Pimp Senior Member

    Joined:
    Apr 2, 2008
    Messages:
    871
    Likes Received:
    3,292
    Occupation:
    Chair moistener.
    Location:
    Cyberspace
    this is sometimes caused by disabling cookes...
     
  9. spider4567

    spider4567 Regular Member

    Joined:
    Jan 5, 2016
    Messages:
    484
    Likes Received:
    30
    upload_2017-2-24_1-34-49.png
    This is what i got from checking it via netpeak spider
     
  10. Marienne

    Marienne Newbie

    Joined:
    Oct 27, 2015
    Messages:
    8
    Likes Received:
    1
    Hey,

    I can't PM you, unfortunately :(

    Yeah, I can see that your website main page with '/' redirects to itself making a redirect loop. You can select your url and click redirects button above the table and you'll get some more data. I also checked this site using SF and got the same.

    Browsers try to show you as much as possible and they can kinda pass some rules on the website. However, search engine bots don't do like this and they can't access your website.
     
  11. Bedbug

    Bedbug Regular Member

    Joined:
    Jul 16, 2014
    Messages:
    390
    Likes Received:
    107
    Gender:
    Male
    Location:
    BlackHat
    Infinite redirect loop means you have an error in redirect.

    I.e i normally get it when i 301 redirect i.e http to https and again https to http.... it means you redirecting to one and the same page you redirect to seems redirected back.
    The solution is to check your redirects in .htaccess and also in your cpanel. May be you did multiple redirects

    I once had that problem and Google never indexed that site and i always wondered what was wrong, until i checked my cpanel and removed the redirect, Google began indexing my site. Basically it can screw you big time and you might never realize
     
  12. Paul-ang

    Paul-ang Newbie

    Joined:
    Dec 18, 2016
    Messages:
    23
    Likes Received:
    4
    Gender:
    Male
    yah, can be quite crazy, can happen in many ways, i think the other way it can happen is in the DNS.

    If you tried to CNAME the naked domain or the root domain to somewhere screwy which somehow links back i suppose it can happen too...

    Also if u are using wordpress, the "site address" and the "wordpress address" or something like that in the wp-config or in the admin panel, also can screw you... espy sometimes if u are not familiar with the DNS...