# QA redirects and canonicals during a migration

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

## What you need

- The approved URL map with expected destinations, moved or retired status, and an owner for unresolved rows.
- A representative set of important templates, linked URLs, international variants, and URLs with query parameters that matter.
- The launch environment and expected checks for redirects, canonicals, robots directives, internal links, and sitemaps.

## 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 URL | Expected destination | Observed path | Next action |
| --- | --- | --- | --- |
| /repairs/boilers | /services/boiler-repair | 301 → 200 with expected canonical | Pass |
| /hvac | /services/hvac | 301 → 301 → 200 | Point the first redirect directly to the final URL. |
| /heating/repair | /services/heating-repair | 301 → 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.

## Tools for this job

- [Screaming Frog](https://seotoolsforagents.com/mcp-servers/screaming-frog.md) — Use SEO Spider crawl outputs to investigate site structure and page-level issues.
- [Google Search Console](https://seotoolsforagents.com/mcp-servers/google-search-console.md) — Investigate Google Search clicks, impressions, queries, and inspection data for properties you can access.
- [Sitebulb](https://seotoolsforagents.com/mcp-servers/sitebulb.md) — Review audit issues and compare crawls when tracking a technical fix.

## Sources

- [Google’s guide to site moves with URL changes](https://developers.google.com/search/docs/crawling-indexing/site-move-with-url-changes)
- [Google’s redirect reference](https://developers.google.com/search/docs/crawling-indexing/301-redirects)
- [Google’s guide to canonical signals](https://developers.google.com/search/docs/crawling-indexing/consolidate-duplicate-urls)

## Where to go next

- [QA a site release](https://seotoolsforagents.com/playbooks/site-release.md)
