GLOBAL BRIDGE LABS
← All posts/Website Development

How to test hundreds of redirects before launch

How to test hundreds of redirects before launch: list-mode crawls, checking status codes, final destinations and hops, and recording results.

By Hojitha Weerasinghe, Co-founder / DirectorPublished 3 min read
Test redirects: key takeaways infographic by Global Bridge Labs
Key takeaways from this article. Share it with the link and credit Global Bridge Labs.
On this page

Key takeaways

Every redirect in the map should be tested before launch, not assumed. Load the map on staging, crawl the old URLs in list mode against the staging domain, and check three things for each: that it returns a permanent redirect, that it reaches the right final page in one hop, and that the final page returns a normal 200 status. Record results in the map.

  • Test every row, not a sample, where possible.
  • Check redirect type, destination and hops.
  • Confirm the final page returns 200.
  • Retest a sample on launch day.

Want us to test your redirects? Message us on WhatsApp.

Chat on WhatsApp →

How do you test on staging?

Most crawlers have a list mode where you paste or upload URLs. Replace the old domain with the staging domain in each old URL, load the list and set the crawler to follow redirects and record every hop. If staging is password protected, give the crawler the credentials. Export the results with the old URL, each hop, the final URL and the final status.

What counts as a pass?

A redirect passes only if all of these are true.

  • The first response is a 301 or 308.
  • It reaches the final page in one hop.
  • The final page matches the new URL in the map.
  • The final page returns a 200 status.
  • The final page is not set to noindex.

What do you do with failures?

Sort failures into groups: missing redirects, wrong destinations, chains, temporary redirects and final pages that error. Fix the cause, which is often one rule or one template, then retest the whole group. On launch day, repeat the test against the live domain for the top pages and a random sample, because server settings sometimes differ between staging and live.

Want a second opinion on your test results? Send them to us on WhatsApp.

Chat on WhatsApp →

What does this look like in practice?

A pattern we see: every redirect passes on staging, but on launch day a test of the top pages shows them returning 302s. The live server had a different default. Because the team retested on the live domain within the first hour, the fix was made before search engines had crawled many of the redirects.

Redirect testing checklist

  • Crawl old URLs in list mode on staging.
  • Check type, hops, destination and status.
  • Group and fix failures.
  • Retest fixed groups.
  • Retest top pages on the live domain at launch.

Next step

Set aside time two weeks before launch to test the full map on staging. Leave enough time to fix and retest anything that fails.

Message us on WhatsApp about redirect testing, or book a 30-minute consultation.

Chat on WhatsApp →

Sources and further reading

Frequently asked questions

How do I check if my redirects work?

Put the old URLs into a crawler in list mode, set it to follow redirects and record every hop. Each redirect should return a 301 or 308, reach the right page in one hop and land on a page returning 200. Test on staging before launch and again on the live site.

Can I test redirects before the new site is live?

Yes. Load the redirects on the staging site and test the old paths against the staging domain. Most crawlers can log in to a password-protected staging site. Retest the top pages on the live domain on launch day, because live settings sometimes differ.

How many redirects should I test?

Ideally all of them, which a crawler can do in minutes even for thousands of URLs. If that is not possible, test every row for your most important pages and a large random sample of the rest, and check the 404 log closely after launch.

Written by

Hojitha Weerasinghe
Hojitha Weerasinghe
Co-founder / Director

Global Bridge Labs (GBL) is a UK–Sri Lanka partner for social media, websites and BPO. Everything here comes from client delivery, not theory.

Share this article

Reading is good.
Fixing is better.

30 minutes with our team and you'll leave knowing which of the three problems to fix first.

Get a Free Quote →
Keep reading