Most sites collect redirects the way a garage collects boxes. Each one made sense when it was added, nobody removed the old ones, and eventually you cannot get to the back wall. The result is redirect chains, where one URL hops through several others before it lands, and occasionally redirect loops, where a URL never lands at all.
A single clean 301 is fine. Chains and loops are the problem, and they are easy to miss because every individual redirect looks correct in isolation. This post covers how to find them, how to tell which ones matter, and how to fix them so they stay fixed.
Why chains and loops are worth fixing
A redirect chain means a request goes from URL A to B to C before reaching the final page. Each hop is another request and another round trip. Users on slow connections feel it, and crawlers spend part of their visit on hops instead of content.
Googlebot will follow a limited number of hops in a row (Google's documentation says up to 10), and it may stop earlier on a given crawl. Other crawlers, including those used by AI products and third-party tools, may be less patient. Even when the destination is eventually reached, a long chain makes discovery and recrawling of the final page slower than it needs to be.
A redirect loop is more serious. A sends to B, and B sends back to A, or a longer circle does the same. Browsers show an error, crawlers give up, and the page is effectively gone. Loops usually come from conflicting rules rather than a deliberate decision, so they tend to appear right after a deployment or a plugin change.
Where chains come from
Before fixing anything, it helps to know the usual sources, because the fix depends on the cause.
- Stacked migrations. A site moved from HTTP to HTTPS, then redesigned its URLs, then changed platforms. Each project added a redirect to the previous destination instead of rewriting the older rules.
- Normalization rules in sequence. One rule forces HTTPS, another forces www, another adds a trailing slash, and another lowercases the path. A single request can trigger all four in turn.
- CMS and plugin redirects. Editing a slug in a CMS often creates an automatic redirect from the old slug. Edit it three times and you can end up with three layers.
- Internal links to old URLs. Navigation, footers, and old blog posts still point at URLs that have since been redirected, so every internal click goes through a hop.
- Conflicting rules at different layers. The CDN, the web server, and the application can each hold redirect logic. When they disagree, loops appear.
Step 1: Crawl the site and collect every redirecting URL
Start with a full crawl that follows redirects and records the complete path for each one, not only the final status. You need the starting URL, every intermediate hop, the status code at each hop, and the final destination.
If your site is under 1,000 pages, a page-by-page audit in a tool like SearchAuditPro will surface redirected URLs and the pages that link to them in one pass. For larger sites, crawl by section so you get complete data on the areas that matter most first.
Also pull in URLs from outside the crawl: your XML sitemap, your top landing pages from analytics, and your most-linked pages from a backlink report. Many chains live on URLs that internal links no longer reach, so a crawl alone will not see them.
Step 2: Sort what you find into types
A raw list of redirects is not actionable. Sort it into these groups, because each one has a different fix and a different level of urgency.
- Loops. Fix these first. They are outright failures.
- Chains of three or more hops. These are clear waste and usually point to stacked rules.
- Two-hop chains. Often caused by normalization rules. Worth fixing, but lower priority than loops and long chains.
- Redirects ending in an error. A redirect that lands on a 404 or 5xx is a broken page wearing a disguise.
- Redirects ending on an irrelevant page. A retired product redirecting to the homepage is a common case. Search engines may treat these like soft 404s, and users get confused.
- Temporary redirects that look permanent. A 302 or 307 left in place for years signals the wrong intent. If the move is permanent, use a 301 or 308.
Step 3: Fix chains at the source, not at the end
The principle is simple: every old URL should redirect once, straight to the current final destination. There are two places to apply that.
Rewrite the redirect rules
For each chain A to B to C, change the rule for A so it points directly to C. Leave the rule for B in place if B still receives traffic or links, but make sure it also points to C. Do this across the whole map, not one example at a time, or you will recreate chains the next time something moves.
When you add a new redirect, check whether the new source is already the destination of an older rule. If it is, update the older rule in the same change. Making that check part of your release process prevents most future chains.
Update the internal links
Redirects exist to catch outside traffic and old links you cannot control. Your own links are different. Every internal link that points at a redirecting URL should be changed to point at the final URL. This removes the hop for users and crawlers, and it makes your internal link data cleaner.
Prioritize templates first, because one change in the main navigation, footer, or breadcrumb template can remove thousands of redirecting links at once. After that, handle in-content links on your most important pages.
Step 4: Combine normalization rules into a single hop
If your audit shows two-hop chains on a large share of URLs, the cause is probably protocol, host, and slash rules running one after another. Take a request like http://example.com/Page and think through what your server does with it. Ideally it goes to the canonical version, such as https://www.example.com/page/, in one redirect.
This usually means writing one rule that sets the full canonical form, or ordering the rules so the final one carries all the corrections. Test with a handful of messy variations: wrong protocol, missing www, uppercase letters, no trailing slash, and all of them together. Each should reach the canonical URL in one hop.
Step 5: Clean up loops and conflicts
For loops, find which layers are issuing the redirects. Check the CDN or edge rules, the server configuration, and the application or CMS settings. The loop typically exists because two layers each want a different version of the URL, for example the CDN forces no trailing slash while the CMS forces one.
Pick one layer to own each type of rule and remove the duplicates from the others. Then retest the affected URLs directly, with caching bypassed, since cached redirects can hide the fix or the problem.
Step 6: Check backlinks and external references
Some redirecting URLs have strong backlinks pointing at them. Those are the ones where a chain matters most, because you want the full value of those links to reach a live, relevant page without friction. Cross-reference your redirect list with your backlink data, and make sure the top linked URLs resolve in a single 301 to a close topical match.
You usually cannot change what other sites link to, but for important links you can sometimes ask for an update. It is worth the effort for a handful of high-value links, and not worth it for the long tail.
Step 7: Verify and keep watching
After deploying fixes, recrawl and confirm three things: no loops remain, no redirecting URL takes more than one hop, and internal links point at final URLs. Compare against the earlier crawl so you can see what changed and catch anything that regressed.
Then set a recurring check. Redirect problems are rarely one-time events, because every redesign, slug change, and plugin update has a chance to add new ones. A scheduled audit after each release is cheaper than discovering a loop from a drop in traffic.
Common mistakes to avoid
- Deleting old redirects to tidy up. Removing a rule that still has traffic or backlinks turns a working redirect into a 404. Flatten first, remove only when you have evidence the URL is dead.
- Redirecting everything to the homepage. If there is no close equivalent, a 404 or 410 is more honest than a misleading redirect.
- Fixing the sitemap last. Sitemaps should list final URLs only. Redirecting entries waste crawl effort and send mixed signals.
- Testing only in a browser. Browsers cache 301s aggressively. Use a crawler or a command-line request to see the real path.
A sensible order of work
If the list is long, work in this order: loops, redirects ending in errors, chains of three or more hops, redirects to irrelevant pages, internal links in templates, then two-hop normalization chains. That sequence deals with outright failures before it moves on to efficiency gains.
Redirect cleanup is rarely glamorous, but it is dependable work. Fewer hops means faster access for users, cleaner crawling, and a site structure that matches what you intended. Once every old URL reaches its final page in one step, the map is simple enough to maintain, and that is the real goal.
