seo-migration-checklisted
Install: claude install-skill YogeshKu7877/claude-seo-skills
# Site Migration SEO Validator
Validates redirect chains, canonical tags, metadata, and content preservation during site migrations.
## Inputs
Either:
- `old` and `new`: Two URLs for a single-page check (e.g., `https://old.com/page` `https://new.com/page`)
- `file`: Path to CSV/text file with URL pairs, one per line: `old_url,new_url`
If file provided: Read it and process each line. Skip blank lines and lines starting with `#`.
For large files (>50 URL pairs), process first 50 and note truncation.
## Execution
For each URL pair, run checks a-f:
**Check a: Redirect Chain Validation**
Fetch old URL with WebFetch and follow redirects (track each hop):
1. Record redirect type: 301 (permanent), 302 (temporary), 307, 308
2. Count redirect hops
3. Record final destination URL
Evaluate:
- Final destination matches expected `new` URL: PASS — mismatch: FAIL
- Redirect type is 301: PASS — 302/307: WARN (temporary redirects pass less link equity)
- Hop count 1: PASS — hop count 2: WARN — hop count >2: FAIL (redirect chain too long)
- Direct 200 on old URL (no redirect): FAIL (old page still live, not redirected)
**Check b: Canonical Consistency**
Fetch new URL, extract `<link rel="canonical" href="...">` from `<head>`.
- Canonical matches new URL exactly: PASS
- Canonical missing: WARN (Google will infer, but explicit is better)
- Canonical points to old URL: FAIL (critical — tells Google old is authoritative)
- Canonical points to third URL: WARN
**Check c: Title and Meta Pr