Seo
Redirect Chains: Find Extra Hops and Fix the Final Destination
Trace every redirect, identify the rule owner and point old URLs directly to the right destination. Includes a recorded before-and-after test.
On this page
A redirect chain occurs when one URL redirects to another redirect before reaching the final page. Fix it by mapping each old address directly to the correct live destination, then update links and sitemaps so new requests do not enter the chain at all.
Read the entire route before editing a rule
The address in the browser bar shows the destination, but hides the intermediate responses. Record the original request, every status code, each Location header and the final URL. Include the exact hostname, protocol, path and meaningful query parameters.
Use a GET request when checking behavior; some systems handle HEAD differently. This command follows redirects and prints response headers without saving the page body:
curl -sS -L --max-redirs 10 -D - -o /dev/null 'https://example.com/old-page/'
Replace the example address with the URL you are investigating. A final 200 does not prove the destination is useful: open it and confirm that it is the expected page rather than a login screen or a soft 404.

We recorded the illustrated sequence with a controlled local HTTP server. The original route made two 301 responses before a 200. After changing the first rule to point directly to the final route, it made one 301 before a 200. This tests the routing change; it does not measure ranking or production speed.
Find the layer responsible for each hop
A chain often contains rules written at different times by different systems. For example, HTTP may become HTTPS at the edge, the old hostname may change at the server, and a plugin may rename the path. Editing the plugin alone cannot remove the first two responses.
Build a small ownership table before changing configuration:
| Hop | Likely place to inspect | Question to answer |
|---|---|---|
| HTTP to HTTPS | CDN, load balancer or web server | Can the rule also select the final host? |
| Old host to current host | Domain or server configuration | Does it preserve the correct path? |
| Old slug to new slug | CMS redirect manager or server rules | Does the target itself redirect? |
| Trailing slash or case change | Router or CMS | Which version is the actual canonical? |
These are diagnostic leads, not a universal description of every hosting stack. Verify the active configuration before deciding where a rule belongs.
Flatten the chain without breaking old links
Suppose /old points to /middle, which points to /new. Change the first rule to /old → /new. Keep /middle → /new if external links or bookmarks may still use it. Flattening does not mean deleting every historical redirect.
For permanent moves, Google documents server-side 301 and 308 redirects as permanent signals. Choose a destination that fulfills the old page’s purpose. Sending unrelated retired pages to the homepage can disappoint visitors and may be treated as a soft 404. If no replacement exists, a genuine removal response can be more appropriate than an irrelevant redirect.
Check for loops before release: a target must not route back to a previous address. Also inspect broad rules that match their own destination, and exceptions for assets, feeds, account pages or multilingual paths. Start with a few explicit mappings before using a pattern across a whole site.
Remove the chain from your own navigation
Change menus, contextual links, canonicals, hreflang references where applicable and XML sitemap entries to the final address. A redirect preserves access from old locations; it should not become the normal route from every new page.
On WordPress, use our single-rule redirect tutorial for implementation. On Shopify, follow the URL redirect workflow, including its restrictions on active paths. A larger domain or platform change needs the migration checklist.
Verify after caches and deployment
Retest the original URL and each known intermediate URL. Check the final page’s title, canonical, indexability and main content. Test a meaningful query-string example if the old link carried parameters that affect the page. Compare server behavior with a fresh browser session because permanent redirects can remain cached.
Keep the before-and-after route in the change record. Review error logs and affected landing pages after deployment. The acceptance criterion is specific: old links reach the relevant live page through the intended route, and current internal links point there directly.
