Skip to main content

Site Migration and Indexation Waste

· 9 min read
Indexation audit for large websites

You have a site with indexation debt. Six months of faceted navigation nobody governed, a CMS that generates a URL for every tag combination, and a crawl that takes two weeks to finish. Then someone books a replatform. The debt you have been quietly living with becomes the thing that decides whether the migration succeeds, and it is almost never in the migration brief.

Migrations do not create indexation problems out of nothing. They take the problems you already had, move them into a codebase where nobody recognises them, and give them a deadline. The technical debt you have known about for two years becomes the thing that eats the launch window.

This post is split at the launch line on purpose. The first half is what to audit before the new platform goes live. The second is what to do in the weeks afterwards, which is where a lot of teams do the most damage.

Why a migration multiplies your URL space​

A replatform changes how URLs are generated, and that is the whole risk. Whatever produced your parameter variants before will produce them after, unless someone deliberately changed it.

The pattern that shows up most often is a faceted navigation whose facets are driven by URL parameters, where the facet values come from the catalogue rather than from a defined set. On the old platform the category tree was a database table with a parent-child relationship. On the new platform it is a set of query parameters, and the set of reachable combinations is the product of every facet that is enabled.

Nothing about the migration asks for this. It arrives because the new CMS ships a faceted navigation widget, the widget is switched on because it is useful, and the URL space goes from a few thousand stable paths to a few million reachable ones within a week of launch.

There is a second multiplier that gets less attention: the routing layer. Some stacks resolve any unmatched path to a product or category page with a 200 rather than a 404. The crawler discovers those URLs from the internal link graph, they all return 200, none of them are in the sitemap, and none of them are distinguishable from real pages without inspecting them.

You cannot find those by looking at the sitemap. You can only find them by crawling the site as a crawler would and inspecting a sample of what you find.

Staging is where the problem ships from​

The staging environment is the most common source of a post-launch mess, and the reason is that staging usually has no facets.

Developers disable filtering on staging so the site is fast and the test suite passes. QA tests the happy path, clicks through a category, adds to basket, checks out. Nobody creates a facet combination, because nobody has a reason to.

What ships is a site whose faceted navigation has never been exercised. It is not that the widget is broken. It is that nobody has ever seen what it generates when everything is enabled at once, and there is no staging URL that anyone has crawled.

Two things fix this, and both should happen before the launch date rather than after it.

Crawl staging with everything enabled. Same configuration as production, facets on, filters on, the lot. PruneSEO binds to a property, and you can point a crawl at a staging host. A crawl of staging is worth far more than a code review of the routing layer, because it tells you the shape of the URL space rather than the intention behind it.

Compare the pattern list before and after. Before the migration you should have a saved inventory of your URL patterns: trailing slash, tracking parameter, index file, file extension, www prefix. After staging goes up, crawl it and compare. The patterns that are new are the ones the migration introduced. That diff is the single most useful artefact in the whole exercise, and it is also the one most teams skip because nobody thought to take the "before" measurement.

The pre-launch checklist​

Four things to check before you let the new stack take traffic. Each one has a specific failure mode.

Crawl budget​

Know what the new stack costs to crawl, before traffic arrives. The two numbers that matter are the default discovery ceiling and the per-run rate. PruneSEO's defaults are 5,000 fetches per run at one request per second, maximum depth 12. Those are sensible for a discovery pass on a large site and they are also a hard limit on how much of a very large site you can see in one go.

If the new platform is slower to respond, your effective crawl rate drops even though the setting has not changed, and a crawl that used to finish in three days now takes two weeks. That is how you end up launching without knowing what you have.

Pattern shape​

Compare the pattern inventory before and after. You are looking for new shapes: parameter families that did not exist, path segments that vary unexpectedly, index files appearing where they did not before. Each new shape is a hypothesis about how Google will spend its time, and each one needs a verdict before it costs you anything.

Canonical behaviour​

Check what the new stack does with a duplicate, not what it is configured to do. Fetch a known duplicate pair by hand and look at the response and the head. Then fetch one URL with a tracking parameter and check that the canonical points at the clean version.

Two failures to test for specifically. A platform that emits a self-referencing canonical on a URL that should point elsewhere is worse than no canonical at all, because it is a positive assertion that the page is the original. And a platform that emits relative canonicals against a staging hostname will produce absolute canonicals against the wrong host the moment you switch it live.

robots.txt handling on the new stack​

The interesting question is not what robots.txt says, it is what happens to a blocked URL. Blocked URLs can still be indexed if Google already knows about them, and the block stops crawling rather than indexing. That distinction is worth remembering when you are tempted to solve an indexation problem with a robots rule.

Check that the new stack serves robots.txt at the root rather than redirecting it, that it does not serve it with a redirect to the new host mid-migration, and that anything you block on the old site is still blocked on the new one. A migration that loses your robots rules unblocks months of deliberate crawl shaping in a single deploy.

The first weeks after launch​

The temptation in week two is to re-judge everything.

You have new data. The patterns have changed shape. Last month's verdicts were formed against the old URL space and you no longer trust them. So you re-run the analysis, re-inspect, change the campaign, and then in week five you re-judge again.

The problem is not that you re-judged. The problem is what re-judging costs when you do it through Search Console. Every URL Inspection call is one of 2,000 per property per day, tracked on a Pacific-time reset day. Ten properties is ten separate fresh 2,000, so an agency has room, but a single site does not. Blow through the daily quota and your inspection coverage goes to nothing for the rest of the day. A full pass over a large site at 2,000 a day is roughly 50 days, which means the quota is the pacing constraint on the entire post-migration period.

Which is why sampling is the method, not a compromise. PruneSEO targets 95% confidence, plus or minus 10 percentage points, with a minimum sample of 20 and a maximum of 400. At that interval you need 97 URLs; widen to plus or minus 15 points and 43 will do. A pattern of 250 URLs or fewer is audited in full. Measured on three real sites, clustering collapsed 162,000 URLs into two to five clusters, so you are not inspecting a page count, you are inspecting a handful of patterns.

Re-judging costs no Google quota​

Here is the part that changes the economics of the post-migration period.

Re-judging re-applies the current classification policy to inspections you have already paid for. It does not call Search Console again. The URL inspection results are stored, and re-running the analysis against them is local work. Nothing is spent from the 2,000 a day, and nothing is spent from the 600 a minute.

That matters because the cases where you most want to re-judge are exactly the cases where you have least quota to spare. The verdict you want to revisit is the one on the pattern that happens to sit at the boundary of the sample, which is also usually the pattern with the most URLs behind it. Re-inspecting it is the expensive option. Re-judging the stored sample is the free one.

So the post-migration rhythm is: sample the new patterns, store the inspections, and re-judge freely as your policy improves without spending quota you need for something genuinely new. Google has not changed its mind about those URLs and neither should you.

The honest caveat is that re-judging only helps if the stored sample still represents the pattern. A migration changes what a pattern contains. Re-judging a stored sample of the old URL space tells you about the old URL space. Re-sample the patterns that genuinely changed shape, and leave the ones that did not alone.

What to do next​

Take a crawl of staging with facets enabled before the launch date, not after. Diff the pattern inventory against the old site and put a verdict on every new shape. Then agree the canonical behaviour and the robots.txt handling in writing, because both are easy to change during the build and expensive to change afterwards.

After launch, sample. Do not re-inspect to satisfy restlessness. Re-judging is free and only meaningful against a sample that still represents the pattern, so spend the quota on the new shapes and re-run the policy over everything else. A migration is when indexation debt becomes expensive, and the mitigation is almost entirely done before the switch is flipped.