A crawl of your website will find all pages that are redirected, as well as the pages they are redirected to. Pages that are redirected return a status code of 3xx, which makes them easy to find in the the crawl results.
Here's how to identify any redirection loops on your website using OnCrawl.
Find redirect loops
Information on redirected pages can be found in the crawl analysis results. Because redirected pages are identified based on their status code (302 or 301), you'll find this information under Indexability > Status codes.
The Redirects, chains and loops chart will show you all of the pages that are part of a redirect loop.
Click on the number to go to a list of these pages in the Data Explorer.
From here, you can explorer or export this information.
How to read this table
Here is the type of information you can find in this table:
72 pages are the next-to-last link in a redirect chain
60 pages are the last link in a redirect chain
There are 7 200 links that point to redirected pages, which should instead point to one of the 60 pages at the end of a chain.
Among the links are correctly set up on your site 67 710 of them point to a page that is the target of a redirect. (This information isn't very actionable, but it might be reassuring!
If you have "follow inlinks" to pages in this table (see column 3), you'll probably want to correct them:
First priority: lines 3 and 4 (site exploration is broken for users)
Second priority: line 2 (prevent redirect chains)
Third priority: line 1 (prevent redirects in your site structure)
Find redirect loops and chains using URL Details
You can also click on the URL in the Data Explorer to show the URL details for any page in a redirect loop. Scroll down to the 3xx redirection chain section to view a graphical representation of the loop--and of any chains leading into it:
The example above shows a chain of redirects leading to a loop created when a page is redirected to itself.
More information
You can find more information about the information OnCrawl provides concerning redirect loops and redirect chains.
This includes best practices, redirect chains (series of redirections that don't loops), analysis of loops and chains by depth or by group, and much more.
Going further
If you still have questions, drop us a line at @oncrawl_cs or click on the Intercom button at the bottom right of your screen to start a chat with us.
Happy crawling!
You can also find this article by searching for:
cadenas de redirecciones, bucles de redirecciones
boucles de redirection, chaines de redirection