Redirect loop

HighHigh priority, in Response codes

Short answer

Redirect loop means: these redirects go round in a circle, so the page can never load. This includes a page that sends visitors to itself until a cookie is set: browsers keep the cookie and get through, but search engines don't keep cookies, so they never reach the page. To fix it: make each URL in the loop redirect straight to the final page, which must return 200. For a cookie check (consent, language), show the page on the first visit instead of redirecting.

By the SmooxSEO team. Updated on 16 November 2026.

What it means and why it matters

These redirects go round in a circle, so the page can never load. This includes a page that sends visitors to itself until a cookie is set: browsers keep the cookie and get through, but search engines don't keep cookies, so they never reach the page.

How to fix it

Make each URL in the loop redirect straight to the final page, which must return 200. For a cookie check (consent, language), show the page on the first visit instead of redirecting.

Common causes

  • Two rules that send traffic back and forth, such as /a to /b and /b to /a.
  • An HTTPS rule and a CDN or proxy rule fighting each other (common when the CDN connects to the server over HTTP).
  • www and non-www rules set in two places (server and CMS) that contradict each other.
  • Trailing-slash rules: /page to /page/ and back again.

How to spot it

Open the address: browsers show "too many redirects". A redirect checker, or the browser's network tab, shows each step of the chain. SmooxSEO follows redirects and reports the loop with every address in it.

Example

Problem
/pricing  ->  301  ->  /pricing/
/pricing/ ->  301  ->  /pricing
Fixed
/pricing  ->  301  ->  /pricing/
/pricing/ ->  200 OK

Mistakes to avoid

  • Clearing the browser cache and thinking it's fixed: browsers remember 301 redirects, so test in a private window.
  • Adding another redirect on top: remove the conflicting rule instead.

How to fix it on your platform

WordPress
Check the WordPress Address and Site Address in Settings > General (both https and the same www choice), then your redirect plugin and .htaccess. Behind Cloudflare, set SSL mode to Full (strict), not Flexible.
Cloudflare or another CDN
"Flexible" SSL connects to your server over HTTP while your server redirects to HTTPS, which loops. Use Full (strict), with a certificate on your server.
Nginx or Apache
Make sure only one place redirects HTTP to HTTPS and one place handles www. Test each step with curl -I to see where it goes back.

Questions people ask

Why does a redirect loop work in one browser but not another?

Browsers cache 301 redirects. Test in a private window, or with an online redirect checker, to see the current behaviour.

How serious is it?

A page can't be found, indexed or trusted, or search engines can't read part of the site. Fix it soon: it costs traffic.

About response codes checks

What your server answers for each page: working pages (200), redirects (3xx), missing pages (4xx) and server errors (5xx). Search engines only show pages that answer correctly.

Find this problem on your site

SmooxSEO checks every page of your site for this problem and 311 others, lists the pages concerned, and tells you what to fix first.

Related response codes checks

All response codes checksAll 312 checks