Technical SEO

Redirect loop

A redirect loop is a sequence of redirects that revisits an earlier URL or condition and therefore never reaches a final resource.

What it means

A simple loop sends A to B and B back to A, while conditional loops can involve protocol, hostname, language, authentication or cached rules. Browsers eventually stop following and show an error; crawlers likewise cannot retrieve final page content.

Why it matters

A loop makes the affected destination unusable for people and inaccessible to Indexing systems. Because rules may live in WordPress, a proxy and a CDN simultaneously, fixing only one visible hop can leave the cycle intact.

Example

A global HTTPS rule sends `http://example.com/page` to HTTPS, while an outdated application rule sends the HTTPS page back to HTTP. Record each response without automatic following, remove the conflicting downgrade rule and confirm one stable 200 destination.

Common mistakes

Do not test only the final URL in a browser cache, or assume clearing cache fixes the server logic. Avoid layering new redirects over the loop before tracing all hops, conditions, cookies, device rules and hostname variants.

How AYSA handles this

Signals reviewed

Ordered redirect responses, Location values, protocol and hostname, cookies and conditions, rule ownership

Problem AYSA can identify

AYSA can trace repeated URLs and show the first response that returns the request to an earlier state.

Recommendation prepared

The fix proposal identifies the conflicting rule and the single intended destination rather than adding another redirect layer.

Approval preview

The user reviews the loop trace, rule owner, proposed removal or correction and an explicit rollback step.

Execution

AYSA can change supported WordPress redirect rules after approval; CDN, web-server and authentication rules require access to their respective systems.

Verification

AYSA repeats uncached requests across relevant protocol and hostname variants and confirms that each path terminates normally.

Limits

Conditional loops may require credentials or edge configuration that AYSA cannot inspect directly.

Sources and further reading

Written by Marius Dosinescu. Reviewed by AYSA SEO Editorial Team · 2026-07-28 00:00:00.

Quick answers

Frequently asked questions

Why can a redirect loop appear only for some users?

Conditional rules can depend on cookies, authentication, device, language, hostname or cached responses, so diagnosis should reproduce the relevant request context.

SEO execution campaign

Less SEO work. More organic growth.

AYSA monitors your website, finds opportunities, prepares the work, asks for approval and executes accepted changes so you can grow without living in SEO tools.

AYSA SEO Magazine

Latest search intelligence.

View all articles