Dev.to WebDev 🛠 Dev 👁 0 📖 1 min read

A practical redirect QA checklist for website migrations

A successful HTTP response is only half the check after a migration. An old product URL can return a 301 and end on a page with status 200, yet still land on the homepage instead of the product customers expected to find

A successful HTTP response is only half the check after a migration. An old product URL can return a 301 and end on a page with status 200, yet still land on the homepage instead of the product customers expected to find.

Build a map before launch

Start with three columns: old URL, expected destination, and reason for the mapping. Use permanent redirects for URLs that moved permanently. If a page was intentionally retired and has no relevant replacement, document that decision instead of sending it to the homepage by default. Google's site migration guide explains how to plan URL mappings and test them.

Compare the map with what actually happened

After the change, use the results of a crawl you are authorized to run. For each old URL, record the final URL, its status code, and the number of redirects followed.

Old URL Expected destination Observed result Next action
/product/grinder /products/grinder 301 to homepage, then 200 Change the redirect to the grinder product
/category/coffee /collections/coffee 404 on the old URL Add the missing permanent redirect
/product/cup /products/cup Two redirects, then 200 at the expected destination Point the first redirect directly at the final URL
/contact /pages/contact One permanent redirect to the expected page, then 200 Pass

These are fictional examples. The first row is the one most worth catching in review: a report that checks only the final status would mark it as successful.

Retest the fixes

Record the corrected redirect and recheck the final URL and status. Keep the original and retest reports together so the next person can see which issues were resolved and which were intentionally left open.

Disclosure: I built Migration Report Kit, a paid offline tool that compares a redirect map with an existing crawl export and produces this kind of report. The checklist above also works with a spreadsheet.

📰 Read the original article on Dev.to WebDev

Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.