← All guides · Ingenious AI team · November 14, 2026 · Reviewed November 14, 2026
Redirect Loops: The Quiet Way a Store Refuses Every Agent
The short answer
A redirect loop is a refusal that never says no: the agent asks for the product or the cart, and the store answers with a redirect to a page that redirects back — until the reader gives up. The gauntlet names it redirect_loop, and the audit's timed trace records the redirect chains step by step, so the cycle is visible instead of suspected. The free store audit fetches with a bounded redirect budget, exactly because stores loop.
Anatomy of a loop
The audit's fetcher follows at most 5 redirects per read — a bound that exists because unbounded following is how readers hang. A loop burns that budget without ever arriving: the product URL redirects to a regional version, which redirects back for currency reasons; the cart redirects to a login that redirects to the cart; an http-to-https rule and a canonicalization rule disagree about the same URL forever. In the trace (purchase_trace_recorded), the step's redirect chain shows the cycle explicitly — the same URLs alternating — which turns a maddening suspicion into a one-line diagnosis.
Humans experience loops as a browser error after many seconds, and most never report it; they assume the store is down and leave. Agents experience it as a step that never completes, which the gauntlet records as a stall at whichever step the loop guards — product, cart view or checkout entry. Either way, the store sold nothing and learned nothing, until a trace made the cycle legible.
Where loops are born
Region and currency logic is the richest source: a geo-redirect sends the agent to a locale storefront, whose own rule sends non-local sessions back — and an agent crawler, arriving from a data-centre address with no locale cookies, is maximally non-local. That is the loop's cousin, the region_currency_switch stall, and the two often alternate in the same trace. Protocol rules are the second source: an http→https redirect on one layer and an https→http canonical on another. Third: session-dependent paths — a cart that redirects anonymous readers to a landing page that links back to the cart.
The common thread is rule composition. Each redirect rule is sensible alone; loops are what two sensible rules do together, for a reader class nobody tested. Agents are that reader class by default: cookieless, locale-less, and literal about following instructions.
Breaking the cycle
Start from the trace, not from intuition: reproduce the loop with the exact URLs the trace shows, as a cookieless reader, and identify which pair of rules alternates. The fix is always a rule change — an exemption, an ordering, a canonical decision — never a content change. Give the store one canonical answer per URL: one protocol, one locale policy that resolves in a single hop for readers with no locale signal, and redirects that terminate at a page, not at another rule.
Then retest the walk. A loop fix that merely moves the cycle to the next step shows up immediately in the new trace, which is the argument for the trace as a permanent artefact: the purchase trace and step replay covers reading it. And because redirect rules change with plugins, campaigns and geo tools, this is a drift-watch check par excellence — the loop you fixed in spring can be reborn in autumn's plugin update.
Sources
- Schema.org Product vocabulary, the structured-data type the Catalog checks parse (schema.org, 2026).
- RFC 9309, Robots Exclusion Protocol, the standard behind the robots.txt checks (rfc-editor.org, 2022).
- Google Merchant Center product data specification, Google's required and optional product-feed attributes (support.google.com, 2026).
Practical note for the fix session: change one rule at a time and re-walk between changes. Redirect systems interact opaquely, and a loop 'fixed' by editing three rules at once can leave a fourth combination armed for a reader profile you did not test — the mobile agent, the second locale, the returning session. The trace makes the discipline cheap: each re-walk either completes every step within a hop or two, or shows the new cycle's shape while the previous change is still fresh in mind. Loops are rarely deep bugs; they are shallow bugs in stacks, and stacks yield to patience plus evidence, not to force.
Five actions to take
- Reproduce as a cookieless reader. Loops hide from logged-in, locale-carrying browsers; fetch the product and cart with no cookies and no locale headers.
- Find the alternating pair. From the trace's redirect chain, name the two rules that bounce the request between them.
- Decide one canonical answer per URL. One protocol, one locale outcome — resolvable in a single hop for a reader with no signals.
- Mind region logic. Geo and currency redirects must terminate for agent crawlers, not cycle them between storefronts.
- Retest and watch. The gauntlet walk must complete each step within the redirect budget; keep drift watch on the result after plugin or campaign changes.
Worked example: Blue Hour Watches, 46 to 81
Example — a fictional store, shown to illustrate how the audit's findings and fixes fit together. These are the example's numbers, not a customer's results.
Blue Hour Watches is a fictional 22-product watch store selling in two currencies. Its first audit scored 46/100:
- Purchase path (Pro): the gauntlet stopped at the product step with redirect_loop — the product URL bounced between the two locale storefronts until the redirect budget ran out.
- Trace: the step's redirect chain showed the cycle plainly: locale A redirected cookieless readers to locale B for currency; locale B redirected them back for region.
- Access: the homepage answered a plain read from the audit's default fetch, so the loop was invisible in the core report's early checks — it guarded product pages specifically.
The fixes, in the order the audit's impact weights dictate:
- Gave cookieless readers a single default storefront: the geo rules now resolve in one hop to a default locale instead of deferring to each other.
- Set one canonical protocol and host rule at a single layer, removing the second layer's competing redirect.
- Re-walked the path: product, cart and checkout entry each landed within one redirect.
The re-audit scored 81/100. The store's two storefronts each worked for their own human audiences the whole time. The loop only existed for the reader with no locale — which is to say, for every agent, every time.
Run the free store audit · See pricing · Ingenious AI
Frequently asked questions
What does redirect_loop mean in the audit?
The stall gauntlet's name for a purchase step that never arrives because redirects cycle — the trace's redirect chain for the step shows the same URLs alternating until the fetch's redirect budget (5) is exhausted.
Why don't human shoppers hit the loop?
Often they carry the cookies and locale signals that make one of the rules settle. The loop typically guards the cookieless, locale-less reader — which is the agent's exact profile. Some loops do hit humans, who read them as the store being down and leave silently.
How is a loop different from region_currency_switch?
A switch is a single mid-walk change of region or currency that invalidates the quoted price — a stall at cart_view. A loop never completes the step at all. They share a cause (region logic) and often appear together; the trace distinguishes them.
Where do loops usually come from?
Composed rules: geo-redirects deferring to each other, an http-to-https rule fighting an https-to-http canonical, or a cart that redirects anonymous readers to a page that links back to the cart. Each rule is sensible alone; the pair is the bug.
How do I fix a redirect loop?
Reproduce it cookieless from the trace's URLs, identify the alternating rule pair, and give the store one canonical answer per URL that resolves in a single hop for signal-less readers. Then retest — the gauntlet confirms each step lands.
Keep reading
Start from the top of the subject: Why AI Shopping Agents Skip Your Store · Can AI Agents Buy From Your Store? · Agentic Commerce Checklist for Online Stores. Then run the instrument itself: the free store audit, the Store Audit lab, and the pricing page. All guides are listed in the guides index.
Previous guide: Dead Checkout Links: How to Find and Fix Them Before Agents Do · Next guide: Minimum Order Blocks: When the Cart Refuses a Small Purchase