Skip to content
Sign inStart monitoring

Network Diagnostic · REDIRECTS

Redirect Tracer Diagnostic & Telemetry Engine

Trace HTTP redirect chains and response status codes. Direct edge diagnostics with zero caching and sub-second global resolution.

IETF Standards Track12 Anycast POPsZero CachingSub-50ms Latency
Quick inspect:
Anycast live

Protocol specsIETF

Validated against standard IETF protocol specifications.

  • Direct Edge Execution
  • Zero Intermediary Caching
  • Sub-50ms Global Query
  • RFC Compliant Output

Edge POP routing12 active

Multi-region edge execution via anycast routing.

SGP (Singapore)Edge node
SJC (San Jose)Edge node
FRA (Frankfurt)Edge node
LHR (London)Edge node

Remediation adviceRFC best practice

Actionable configuration guidance for infrastructure.

Inspect the live output below and verify all protocol headers align with recommended standards.

Workflow & Diagnostics

How Redirect Tracer works

A redirect checker follows a link step by step. Long chains slow pages and can lose SEO value.

1

Enter a URL.

2

Read each hop and its status code.

3

Cut the chain down to a single 301 where you can.

Troubleshooting & Remediation

How to Read & Fix Results

How to read the result

  • ProblemRedirect loop detected, chain hits the 10-hop cap, destination returns 4xx/5xx, or HTTPS redirects back to plaintext http://.
  • WarningTwo or more hops (such as http:// -> https:// -> https://www. -> trailing slash) inflate TTFB/LCP, or 302 temporary codes are used for permanent canonical moves.
  • PassZero or one direct permanent hop (301 or 308) straight to the canonical 200 OK URL.

How to fix issues

  • Collapse multi-hop chains so http://example.com/path jumps in a single 301/308 hop straight to https://www.example.com/path.
  • Use 301 (or 308 for APIs/POST endpoints needing strict method preservation) for permanent moves; reserve 302/307 for temporary redirects.
  • Align CDN edge redirect rules with origin Nginx/Apache vhosts so neither layer bounces www vs apex back and forth.
  • Pair clean HTTPS canonical redirects with Strict-Transport-Security (HSTS) once every hostname serves valid TLS.

Common mistakes to avoid

  • Using Cloudflare "Flexible" SSL mode while the origin web server redirects HTTP to HTTPS, causing an infinite ERR_TOO_MANY_REDIRECTS loop.
  • Leaving 302 Found redirects on permanent site migrations, slowing search canonicalization.
  • Chain-stacking trailing-slash, lowercase, and host redirects into 3–4 sequential round trips.
  • Bulk-redirecting retired deep URLs to the homepage (treated as soft 404s by search engines) instead of closest matching pages.

Single-Hop Canonical Nginx Redirect

RFC Syntax
Reference ExampleRFC 1035 / BIND
server {
  listen 80;
  server_name example.com www.example.com;
  return 301 https://www.example.com$request_uri;
}

Sends non-following HTTP HEAD requests from our Cloudflare edge up to 10 hops, recording status codes, Location targets, and Server headers. Endpoints rejecting HEAD (405) or blocking bot User-Agents may behave differently in browsers.

Next checks:Check security headersInspect SSL certificateRun on-page SEO check

Specifications & Scope

About Redirect Tracer

01 / What it does
A redirect checker follows a link step by step. Long chains slow pages and can lose SEO value.
02 / How to use
1. Enter a URL. 2. Read each hop and its status code. 3. Cut the chain down to a single 301 where you can.
03 / Good to know
Use 301 for permanent moves and 302 for temporary ones. Avoid more than two hops.

Got Questions?

Frequently Asked Questions

301 is permanent and passes ranking signals. 302 is temporary.
Technical Reference & Standards

Tool Details & Usage Guide

RFC specifications, input expectations, outputs, and edge limitations.

HTTP Redirect Status Codes (RFC 9110 Semantics)

HTTP redirects instruct clients, search bots, and API callers to fetch a resource from another URI via the Location response header. Choosing the wrong 3xx code silently breaks POST APIs, leaks link equity, or caches temporary maintenance routes in user browsers.

Status Code RFC 9110 Name Browser Caching HTTP Method Preservation Production Use Case
301 Moved Permanently Aggressively cached Legacy clients may convert POST -> GET Canonical domain/URL migrations (http -> https, apex -> www)
302 Found Not cached without explicit headers Legacy clients may convert POST -> GET Temporary A/B tests, maintenance pages, geo routing
307 Temporary Redirect Not cached by default Strictly preserves POST/PUT/DELETE & body Temporary API / form / webhook endpoint redirection
308 Permanent Redirect Cached permanently Strictly preserves POST/PUT/DELETE & body Permanent API & webhook route moves

The Redirect Tracer sends non-following HTTP HEAD requests hop-by-hop from our Cloudflare edge (capped at 10 hops to prevent infinite loop stalls), recording every intermediate URL, status code, and Server header. (Note: Origin endpoints returning 405 Method Not Allowed on HEAD or filtering automated User-Agents may respond differently to full browser GET requests.)


Why Redirect Chains Kill Crawl Budget & Core Web Vitals (LCP)

Every unnecessary hop in a redirect chain adds a sequential network round-trip before the browser can even begin downloading HTML, CSS, or the hero image:

  1. TCP + TLS Handshake Penalty: If a chain jumps across hostnames (http://example.com -> https://example.com -> https://www.example.com -> https://www.example.com/), the client may pay separate DNS lookup, TCP SYN/ACK, and TLS 1.3 negotiation penalties—directly inflating TTFB and Largest Contentful Paint (LCP).
  2. Search Crawl Budget Waste: Crawlers allocate finite fetch budgets per host. Long internal redirect chains inside sitemaps, navigation menus, or canonical tags slow indexing of updated content.
  3. Webhook & OAuth Failures: Payment and Git webhooks frequently refuse to follow more than 1–2 redirects or drop POST bodies on 301/302.

Canonicalization Rules: HTTP -> HTTPS & www / Apex

Configure your edge CDN or origin web server so all non-canonical combinations collapse in a single 301 (or 308) hop:

  • Bad (2–3 hops): http://example.com/pricing -> https://example.com/pricing -> https://www.example.com/pricing -> https://www.example.com/pricing/
  • Good (1 hop): http://example.com/pricing -> 301 https://www.example.com/pricing/

Example single-hop Nginx configuration combining scheme and host canonicalization:

server {
    listen 80;
    listen 443 ssl;
    server_name example.com;
    return 301 https://www.example.com$request_uri;
}

HSTS Interaction & CDN Loop Pitfalls

  • HSTS (Strict-Transport-Security): Once a browser caches Strict-Transport-Security: max-age=31536000; includeSubDomains, subsequent requests to http:// are upgraded internally by the browser (307 Internal Redirect) without sending a plaintext HTTP hop over the wire. Ensure every subdomain supports HTTPS before enabling includeSubDomains.
  • Cloudflare Flexible SSL Redirect Loops: Setting Cloudflare SSL/TLS encryption mode to Flexible sends unencrypted HTTP (port 80) traffic to your origin server. If your origin Nginx/Apache config has a rule redirecting HTTP to HTTPS, every request loops endlessly (ERR_TOO_MANY_REDIRECTS). Always run Full (strict) with a valid origin TLS certificate.
  • Trailing Slash & Uppercase Normalization Collisions: When a CDN edge rule normalizes uppercase paths or strips trailing slashes while your CMS or framework router enforces trailing slashes, browsers bounce between /Docs/ and /docs until exceeding max redirect limits. Align trailing-slash behavior in one layer only.

Verify redirect chains and final effective URLs from your terminal using curl:

curl -ILs -o /dev/null -w "final=%{url_effective} code=%{http_code} hops=%{num_redirects} ttfb=%{time_starttransfer}s\n" http://example.com
curl -I http://example.com | grep -iE "http/|location:|server:"

Inspect response headers on your final landing page via Security Headers, verify TLS certificates with SSL Checker, check on-page canonical tags with SEO Analyzer, and benchmark connection timing via TCP Latency.