// seo-check.mjs --redirects old-urls.csv
Move the site without losing what it earned.
Give it the old URLs as a list, an old,new CSV or the old sitemap. Every one should 301 in one hop to a live, indexable page that is its own canonical. Pick a row to follow its hops.
- /pricing.html302
- /pricing200
P2 redirect.temporary
Uses a temporary redirect (302) for a permanent move; use 301 or 308 so search engines move the old URL’s signals.
| Old URL | What happens | Grade | Check |
|---|---|---|---|
| /blog/old-post 301 → /blog/new-post 200 · indexable | OK | (no finding) | |
| /pricing.html 302 → /pricing 200 | P2 | redirect.temporary | |
| /features 301 → /product 301 → /product/ 200 | P2 | redirect.chain | |
| /team 301 → / 200 · home | P2 | redirect.to-home | |
| /docs/v1 200 | P1 | redirect.missing | |
| /careers 301 → /jobs 404 | P1 | redirect.broken-target | |
| /shop/lamp 301 → /shop/lamp-2 200 · noindex | P1 | redirect.target-noindex | |
| /a 301 → /b 301 → /a … | P1 | redirect.loop | |
| /spring-sale 410 Gone | P3 | redirect.gone |
11
redirect checks
5 of them P1: missing, looping, broken, wrong or noindex targets
1
hop, permanent
301 or 308 straight to the final page
3
ways to give old URLs
a list, an old,new CSV, or the old sitemap