Redirect chain HTTP Origin: Network OSI layer 7 · Application Last updated 18 Nov 2026

Redirect chain: http → https → www (multiple hops slow the page)

A single URL goes through several redirects before the final page loads.

Exact message you may see Redirect chainAvoid multiple page redirectsredirect chain http https wwwPage with redirect SEO redirect chain too longtoo many redirect hops
Seen on: HTTP Nginx Apache

Meaning

Each hop adds latency, and long chains hurt SEO and sometimes break crawlers/APIs. Redirect straight to the canonical https://www... URL in one step, and update links, sitemaps and canonical tags to the final URL.

Common causes

  • Separate redirect rules for http→https and non-www→www
  • Rules in server, CDN and app all active
  • Old URL → new URL → newer URL
  • Trailing-slash redirect added on top
  • Links not updated

⚡ Quick fix

  1. Redirect to the final URL in a single 301
  2. Update internal links and sitemap
  3. Test with curl -sIL

Detailed fix by platform

cURL

  1. bash
    curl -sIL -o /dev/null -w "%{num_redirects} redirects -> %{url_effective}
    " http://example.com/

How to diagnose

  1. Hops — More than one?
  2. Final URL — Canonical?
  3. Rules — Duplicated?

🔧 Still not fixed?

Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:

Where this error sits

Origin: Network. Errors that are often confused with or caused by this one (click to open):

1200 — Cloudflare Error 1200: Cache connection limit (Cloudflare)1200301 — HTTP 301 Moved Permanently (HTTP)301304 — HTTP 304 Not Modified (HTTP)304308 — HTTP 308 Permanent Redirect (HTTP)308404 — Soft 404: page returns 200 for missing content (HTTP)404410 — HTTP 410 Gone (HTTP)410504 — HTTP 504 Gateway Timeout (HTTP)504524 — Cloudflare Error 524: A Timeout Occurred (Cloudflare)524Redirect …

Explore the map of this error Full error map →

🧠 Still stuck? Analyze your error

Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.

💬 What worked for others

No tips yet — did something else fix this for you?

Share what worked for you

Tips are checked by an editor before they appear. Links are removed.