A site migration fails in boring places. The new site is built, the launch date is set, and then the redirect file is rejected, or half the old pages land nowhere because the list they were matched against was quietly broken. The failure was in the list, not the migration.

The cheap defence is to validate both lists before anything moves: the old site's full URL inventory and the new site's URL list. Run each through the free URL List Validator on Ovatly, fix what it flags, and migrate from lists you know are clean. This guide covers what to export, what the flags mean for a migration, and the one thing the validator cannot tell you.

Contents

  • Quick answer
  • The two lists a migration depends on
  • What an invalid line costs on launch day
  • Duplicates: the pages two rules fight over
  • How to validate both lists, step by step
  • Worked example: a four-line inventory
  • Limitations and honest tradeoffs
  • Common mistakes
  • FAQs
  • Conclusion
  • References

Quick answer

Export the old URL inventory and the new URL list, and run both through the URL List Validator, one URL per line. Invalid lines are URLs that will break on day one of the migration. Duplicates are pages two rules will fight over. Fix both lists first, then migrate. One honest limit: the validator checks syntax and duplicates only. It never visits the URLs, so it cannot tell you whether a page loads, redirects or still exists. That belongs to the migration test plan, not this tool.

The two lists a migration depends on

Most migrations juggle two lists. The first is the old inventory: every URL the current site answers, exported from the CMS, the sitemap or a crawl. Redirects are written against this list, so an address missing from it gets no redirect, and an address damaged in it gets a broken one.

The second is the new list: every URL the rebuilt site will answer. Matching old to new is the core of the migration, and matching only works when both sides are exact. A trailing space or a missing protocol in either list makes two copies of the same page look like different addresses, and the match silently fails.

What an invalid line costs on launch day

An invalid line in the old inventory is a URL that will break on day one. If the line cannot be parsed, the redirect written from it cannot be parsed either, and the importer or server that receives it will reject the rule or skip it. Either way, visitors following the old address arrive at an error instead of the new page.

The usual cause is unglamorous: a missing protocol, the most common reason the validator flags a line. Spaces pasted in from documents and stray characters do the same damage. All of it is fixable in the list, in minutes, before launch. None of it is fixable after the redirect file has already been built on top of it.

Duplicates: the pages two rules fight over

A duplicate in the inventory is a page with two identities. Duplicate detection in the validator ignores the fragment, the default port, letter case in the host and a trailing slash, so lines that differ only cosmetically still count as the same URL.

That matters because redirects are written per line. Two lines for one page can produce two rules pointing at different destinations, and which one wins depends on the order the server reads them. The result is a page that sometimes lands in the right place and sometimes does not, the hardest kind of migration bug to chase. One line per address, decided in the list, removes the argument before it starts.

How to validate both lists, step by step

  1. Export the old site's full URL inventory and the new site's URL list, one URL per line in each.
  2. Paste the old inventory into the URL List Validator and read the counts: valid, invalid, duplicates, non-web schemes.
  3. Fix the invalid lines: add missing protocols, trim spaces, replace damaged characters. Correct any scheme typos the non-web scheme flag points at.
  4. Remove duplicates so every address appears exactly once.
  5. Repeat the same check on the new list.
  6. Build the redirect mapping from the two cleaned lists, and keep the clean versions as the record of what was migrated.

Worked example: a four-line inventory

A small inventory makes the pattern clear. A four-line list comes back from the validator as 3 valid, 0 invalid and 1 duplicate, because line 3 repeats line 1. Before the check, that page had two lines in the inventory and could have collected two different redirect rules. After it, one line, one rule, one destination.

Scale that up to a real inventory of thousands of lines, which the validator handles fine, and the same two repairs, invalid lines and duplicates, are the difference between a redirect file that imports cleanly and one that fails on launch morning.

Limitations and honest tradeoffs

The validator checks syntax and duplicates only. It never visits or fetches the URLs, and browser CORS rules mean a pasted list cannot be live-tested from a web page in any case. It cannot tell you whether a page on the old site still loads, whether a redirect chain is forming, or whether a new URL answers correctly. Those checks belong to the migration test plan: crawling the old site, testing the redirects on staging, and monitoring after launch.

What the validator does guarantee is narrower and still valuable: both lists are well formed, free of duplicates, and safe to build on. It runs fully locally, so an unreleased new site's URL list is never sent anywhere.

Common mistakes

  • Validating only the old list. The new list carries the same copying damage. A broken new URL breaks the match from the other side.
  • Writing redirects before cleaning. Rules built on a dirty list inherit every error in it, and the errors surface at import time or after launch.
  • Leaving duplicates in because they look harmless. Two lines for one page become two rules, and the server picks the winner.
  • Expecting the validator to test the site. It never opens an address. Live checks are a separate step with separate tools.
  • Discarding the cleaned lists. They are the migration's record. Keep them with the redirect file.

FAQs

Which lists should I validate before a migration? Both. The old site's full URL inventory, because redirects are written against it, and the new site's URL list, because the matching only works when both sides are exact.

Can the validator tell me whether a page still exists or redirects correctly? No. It checks syntax and duplicates only and never visits the URLs, so it cannot say whether a page loads, redirects or is gone. That check belongs to the migration test plan, with crawls and staging tests.

Why do duplicates matter if the URLs look slightly different? Duplicate detection ignores the fragment, the default port, host letter case and a trailing slash, so cosmetically different lines can still be the same address. Left in, they become two redirect rules for one page, pointing at different destinations.

What usually makes a line invalid? A missing protocol is the usual cause. Spaces carried in by copy and paste, and stray or substituted characters, break a line's shape in the same way.

Can I validate a full site inventory? Yes. Thousands of lines are fine, and the check runs locally in your browser, so an unreleased site's URL list never leaves your device.

Conclusion

A migration built on clean lists removes a whole class of launch-day failures before they can happen. Validate the old inventory and the new list with the URL List Validator, fix the invalid lines, settle the duplicates, and only then write the redirects. For the line-by-line repairs themselves, our companion guide to invalid URL mistakes goes through each failure in detail. For more guides in this series, see our Website and Webmaster Tools guides.

References