Redirect Chain: Understand and Use the Results
Trace HTTP redirect chain
HTTP redirects: why a chain of them quietly breaks performance and SEO
An HTTP redirect is a server response that says "the thing you asked for is actually somewhere else — go look there instead." Redirects are essential to a healthy web: they handle moves, name changes, HTTPS upgrades, regional variants, and the long tail of URLs that have to keep working forever. The three most common kinds are 301 (permanent redirect), 302 (temporary redirect), and 308 (permanent, with method preservation). Browsers and search engines treat each one slightly differently, and getting the wrong one in production can cause subtle SEO problems that take months to notice.
You should care because **redirect chains — where one redirect leads to another, which leads to another — are one of the most common silent performance and SEO killers on the modern web**. A typical chain looks like this: `http://example.com` → `https://example.com` → `https://www.example.com` → `https://www.example.com/`. That is four requests to load the homepage instead of one, with all the round-trip latency that implies. Worse, every step in the chain dilutes the SEO link equity passed through to the final URL. Search engines tolerate one redirect cleanly; chains of three or more start to leak ranking power.
The five things every redirect audit looks at:
Is there a chain at all? The first question is simply: how many redirects does the typical request go through before reaching a 200 response?
Are the redirects the right type? A permanent move should be a 301 or 308. A temporary move should be a 302 or 307. Mixing them up confuses both browsers and search engines.
Are HTTPS upgrades a single hop? The classic mistake is `http://` → `https://` happening as a separate step from `non-www` → `www`, when both can be combined into one redirect.
Are there any redirect loops? A loop (`A → B → A`) is fatal — browsers eventually give up and show an error.
Are there mixed-content redirects? A redirect from HTTPS to HTTP is dangerous and is treated as a security failure by some browsers.
Three questions a redirect audit answers:
How many redirects does my homepage actually go through, and can any of them be eliminated?
Are any of my redirects the wrong type (e.g., temporary when they should be permanent)?
Is my HTTPS-and-www canonicalization handled in a single hop, or is it taking multiple steps?
The cost of long redirect chains is the slow erosion of both performance and SEO. The fix is to consolidate multiple redirects into a single hop wherever possible. This is one of those operational details that almost nobody thinks about until they audit their own site and discover the chain has grown to four steps over the years.
The Redirect Chain endpoint, in plain language
Trace HTTP (HyperText Transfer Protocol) redirect chain
Redirect chains impact SEO (Search Engine Optimization) (passing link equity), page load speed, and can introduce security issues. Understanding the complete chain helps diagnose problems and optimize user experience.
What is actually happening when you call it
Makes HTTP (HyperText Transfer Protocol) requests following all redirects while recording each hop. Documents status codes, redirect types, response headers, and timing for each step. Identifies common issues like redirect loops, mixed content (HTTPS (secure HyperText Transfer Protocol) to HTTP), and excessive chain length.
Why this specific tool matters
Choose a task: SEO Audit. Identify redirect chains that dilute link equity or slow down page indexing.
Run the Redirect Chain request below and retain the input and observed result. Before changing configuration, compare the relevant fields with the value or policy you expected. Use the Redirect Chain reference to check the field definitions and supported options.
Available on the free plan. The technical details: `GET /v1/domain/redirect`.
When would I actually use this?
SEO Audit
Identify redirect chains that dilute link equity or slow down page indexing.
Use the finding: Optimize redirects to improve SEO (Search Engine Optimization) performance and crawl efficiency.
Migration Verification
After site migration, verify old URLs properly redirect to new locations.
Use the finding: Ensure migration redirects are working and not creating chains.
Security Analysis
Detect open redirects or suspicious redirect patterns in phishing investigations.
Use the finding: Identify malicious redirect patterns used in phishing campaigns.
The easiest way: just ask your AI assistant
Connect the MCP server. Just ask in plain English:
Use domain_redirect with url=http://example.com. Show the returned findings, identify unavailable evidence, and explain a useful next check.
Confirm the tool and inputs in the client before accepting its summary. For Redirect Chain, use the response fields below to separate observations from recommendations.
The dedicated MCP server is available on every plan. Individual tool access and request limits depend on your plan. Management categories and endpoints disabled for the tool catalog are not exposed through MCP.
The technical way: call it from code
This Redirect Chain request uses the example inputs from its API contract. Replace YOUR_API_KEY with a key on the free plan or higher; adapt the target to your task.
curl --request GET 'https://api.edgedns.dev/v1/domain/redirect?url=http%3A%2F%2Fexample.com' \
--header "Authorization: Bearer YOUR_API_KEY"Prepare inputs for Redirect Chain
Start with the inputs below. Keep the same hostname, path, and options when comparing Redirect Chain observations. The API reference contains the complete parameter contract, optional settings, and access requirements.
| Field | Type | Required? | What it means | Example |
|---|---|---|---|---|
url | string | Yes | The URL (web address) to trace redirects from | http://example.com |
Interpret Redirect Chain findings
Read these fields alongside the full response from your Redirect Chain check. A missing value or failed lookup is different from a passing result. Keep returned errors and confidence or cache metadata when available; do not replace missing evidence with a successful default. See the complete response reference for additional fields.
| Field | Type | What you'll see in it |
|---|---|---|
originalUrl | string | The starting URL (web address) |
finalUrl | string | The final destination after all redirects (including meta-refresh) |
chain | array | Each hop: URL, statusCode, statusText, redirectType, location, server, responseTimeMs, category |
Words you might be wondering about
URL (web address) — The full address of a page, like https://example.com/about.
HTTP (HyperText Transfer Protocol) — The language web browsers and websites use to talk to each other.
HTTPS (secure HyperText Transfer Protocol) — HTTP with encryption — the little padlock in your browser. It means nobody between you and the website can read what you're sending.
SEO (Search Engine Optimization) — Everything you do to help search engines like Google find, understand, and rank your website.
Related Guides
HTTP Checker: Check Server Status, Redirects, and Response Time
Check whether a URL responds as expected, see where it redirects, and understand its elapsed time and HTTPS result. Start with a browser check, then use the same endpoint in a deployment workflow.
Server Response Time and Edge TTFB Percentiles Explained
Measure response latency from an edge worker and understand what the median, p90, p95, and p99 can tell you. Learn where a small synthetic sample differs from browser timing and production tail latency.
Security Headers: Understand and Use the Results
Inspect delivered HTTP security policies and evidence coverage
Need Programmatic Access?
Automate domain intelligence with 100+ API endpoints and a free MCP server for AI integration.