In short
Ahrefs flags "Redirect loop" when following a URL's redirects leads back to a URL already in the chain, so no final page is ever reached. The page is inaccessible to visitors and search engines. Loops are almost always caused by two rules that disagree, often about HTTPS, www, or trailing slashes. Find the conflicting rules and keep only one.
In a redirect loop, URL A sends you to URL B, and B sends you back to A. Browsers give up and show "too many redirects."
Trace the loop
curl -sIL --max-redirs 10 https://example.com/page/ | grep -iE "^(HTTP|location)"
The output shows each hop. Look for where it starts repeating.
Common causes
| Cause | Fix |
|---|---|
| CDN set to "Flexible" SSL while the server forces HTTPS | Set the CDN to Full (strict) SSL, or remove the server-side redirect |
| Two rules disagree on www or non-www | Pick one version and remove the other rule |
| One rule adds a trailing slash, another removes it | Keep one convention |
| A redirect plugin rule conflicts with .htaccess | Remove the duplicate rule |
| WordPress Site Address doesn't match the redirect | Make both URLs in Settings > General match your chosen version |
Platform tips
WordPress: check Settings > General, .htaccess, your redirect plugin, and any SSL plugin. With Cloudflare, "Flexible" SSL is a classic cause.
Shopify: check that a URL redirect doesn't point back to a URL that itself redirects, for example two redirects pointing at each other.
Webflow: check that no 301 rule's target matches another rule's source.
Wix: check the URL Redirect Manager for rules pointing at each other.
Custom builds: check proxy headers. An app behind a proxy may think every request is HTTP and keep redirecting to HTTPS. Trust the X-Forwarded-Proto header from your proxy.
Common mistakes
Clearing browser cookies and calling it fixed. If curl still loops, crawlers still loop.
Adding more rules to fix a loop. Remove rules instead.
This guide isn't affiliated with or endorsed by Ahrefs.
Related issues
Sources and references
Google Search Central, Redirects and Google Search
Cloudflare Docs, ERR_TOO_MANY_REDIRECTS

About the author
Nazmul Nikhil
Head of SEO & Assistant Manager, Digital Marketing at Notionhive
SEO and AI search consultant in Dhaka, Bangladesh, helping small and mid-size businesses in the USA, UK, Australia and Canada.



