Skip to content

QA redirects and canonicals during a migration

Compare an old-to-new URL map with what the server actually returns before and after launch.

Steps

  1. Validate the mapping before crawling

    Group old URLs by intended action. Confirm the proposed new page answers the same visitor need. Record a retirement outcome for URLs with no replacement and flag any broad destination that needs review.

  2. Follow each redirect through to its destination

    Request the mapped old URLs and capture every status and Location value through the final response. For a permanent move, verify that the old URL returns a permanent server-side redirect to the intended new URL. Flag loops, unnecessary hops, environment leaks, and redirects to unrelated pages.

  3. Check the landing page’s search signals

    Verify that the destination serves the expected content and status. Compare its declared canonical with the approved mapping and check robots directives and access for URLs intended for search. Inspect both variants if HTML and response headers declare different canonicals.

  4. Recheck links and sitemaps

    Sample internal links from pages that previously referenced the old URLs. Verify that updated links and submitted sitemap URLs use the new preferred URLs directly. Include alternate-language links in the check where the migration changes locale paths.

  5. Retest against the public launch

    Rerun the same URL set after the release. Attach the before-and-after evidence, sort failures by visitor impact and the importance of the affected URLs, and spot-check key destinations in Search Console.

Sample migration check

The migration map expects every retained service page to point to its closest equivalent.

Old URLExpected destinationObserved pathNext action
/repairs/boilers/services/boiler-repair301 → 200 with expected canonicalPass
/hvac/services/hvac301 → 301 → 200Point the first redirect directly to the final URL.
/heating/repair/services/heating-repair301 → 200 with canonical /services/Review the template’s canonical.

Prompt for your agent

QA this approved old-to-new URL map [attach map] in [environment]. Capture the requested old URL, every redirect status and Location header, final response, expected and actual destinations, canonical, and robots directives. Flag mismatches, chains, loops, and destinations that answer a different visitor need. Sample the sitemap and internal links to the changed pages. Return a pass/fail table with evidence, proposed fixes, and a post-launch retest list.

Sources