Choose a way to do this check
Screaming Frog redirect report
- Upload old addresses and allow the crawler to follow redirects.
- Export hop counts, final destinations and loops. Fix high-value paths leading to errors first.
WebSite Auditor
- Open the relevant redirects factor and review the reported affected URLs.
- Use Pages to see incoming links, then rebuild the project after changing site links or rules.
Check a mapping before release
- Upload Source and Target as absolute URLs.
- Follow any reported chain in the CSV and confirm live results after release.
1. Pick a representative route
Start with an old URL from a migration map, crawl report or server log. Keep the exact scheme, host, trailing slash and query values. A chain can look different depending on which variant you start from. Reproduce it with a fresh request to reduce the effect of cached redirects.
url='https://www.example.com/old-guide/'
curl -sS -L --max-redirs 8 --max-time 30 -D - -o /dev/null "$url" \
| grep -Ei '^(HTTP/|Location:)'Treat this pipeline as a display aid. A pipeline can hide curl's failure status, so use the curl command on its own when you need to detect a timeout or a redirect limit. Read each Location header in order. A relative Location is resolved against the URL of the response that produced it, rather than always against the URL you started with.
2. Decide which rule should own the redirect
For a chain such as /old-guide/ to /resources/old-guide/ to /guides/new-guide/, first confirm that the last URL is the correct replacement. Check whether the first rule is at the CDN, in server configuration or in the CMS. A host redirect can be in front of an application rule. A loop may arise from two layers disagreeing about the preferred scheme or slash.
Edit the rule that handles the old URL so it points straight at the final address. Preserve intermediate redirects if external traffic still reaches those addresses, but also point them directly at the final page when that is appropriate. Update links in content and navigation to bypass the redirects entirely.
source,destination,expected_status
/old-guide/,/guides/new-guide/,301
/resources/old-guide/,/guides/new-guide/,3013. Check for collateral changes
Test the source variants, the final URL and a nearby path whose response should be unchanged. Compare query preservation with your agreed policy. Check that the destination returns 200 and that its visible content fulfils the same purpose as the old page. If a known normalisation hop occurs first, determine whether your CDN or application can handle it without affecting other traffic.
curl -sSL --max-redirs 8 --max-time 30 -o /dev/null \
-w 'Hops: %{num_redirects}\nStatus: %{http_code}\nURL: %{url_effective}\n' "$url"4. Confirm the fix after release
Compare the same crawl sample before and after the change. On large migrations, filter for important entry pages and chains that end in an error first. Record any intentionally retained redirects and monitor old routes during the change window.
If the updated rule changes unrelated paths, revert it and repeat the baseline tests. If only one browser still sees the old chain while fresh HTTP requests are correct, investigate browser and edge caching separately.
Technical references
Frequently asked questions
What does too many redirects mean?
The client reached its redirect limit. Inspect the Location sequence for a repeated address or an unexpectedly long chain.
Should I delete every intermediate mapping?
Keep a direct mapping where people still reach that old address. Remove unnecessary hops from each mapping.
Is a final 200 enough?
Also check the destination, its content and the number of redirects. A final 200 on the wrong page is still an issue.
Can trailing slashes cause a loop?
Yes. Two layers can try to add and remove the slash. Agree one preferred URL and test both variants.
Written by Richie Aubin
Published
