site-migration
Skill1 starsChanged 28 days agoMITView on GitHub
Plans and checks a website migration or relaunch without losing search traffic. Covers an inventory of every old URL (Search Console, old sitemaps, a crawl), the old-to-new redirect map, permanent redirects on Vercel (vercel.json, bulk redirects), one host and one URL per page, tests before and after the DNS switch with scripts/check-redirects.mjs, IndexNow submissions to Bing with scripts/indexnow.mjs, and 4–8 weeks of monitoring. Use it when replacing a site (Wix, WordPress, Webflow, Squarespace, a custom CMS) with a new build, changing domains or URL structures, merging or deleting pages, moving to Vercel, or when old URLs return 404 after a launch.
3 other projects use a version of this.
Adopted by
Most recently taken up by
- jbobbink/seo-gsc-wizardtheir own version, first seen Nov 1, 2026
- afeezadebayo/technical-seo-skillstheir own version, first seen Oct 20, 2026
- textura-agency/next16-claude-startertheir own version, first seen Oct 14, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- textura-agency/next16-claude-starter★ 141same name
- afeezadebayo/technical-seo-skills★ 2same name
- jbobbink/seo-gsc-wizard★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository11 other files it gives its agents.
- AGENTS.mdAGENTS.md
- skills/geo-ai-search/assets/llms.txtllms.txt
- geo-ai-searchSkill
- seo-geo-vercel-playbookSkill
- seo-metadataSkill
- seo-technical-auditSkill
- structured-dataSkill
- vercel-cost-optimizationSkill
- vercel-firewallSkill
- vercel-static-configSkill
- web-performanceSkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 9 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
9
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 22
Search engines rank URLs. When URLs change, rankings move to the new URLs only if every old URL answers a permanent redirect straight to …
- Distinctive: line 29
Search Console → Pages and Performance exports (the URLs that have impressions or links).
- Distinctive: line 40
Test on the preview deployment: before the DNS switch:
- Distinctive: line 46
Every row must be one hop, 301/308, ending on a 200 at the expected path.
- Distinctive: line 68
Keep redirects for at least a year.
- Distinctive: line 69
No chains: point every old URL straight at the final page (the checker warns on 2+ hops).
- Distinctive: line 70
No redirects in JavaScript or meta refresh for moved pages: use server redirects.
- Distinctive: line 71
Don't change URLs and content and domain at once if it can be avoided.
- Distinctive: line 72
Ask before the DNS switch and before IndexNow submissions: both are outward-facing.
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Site migration without losing rankings
Search engines rank URLs. When URLs change, rankings move to the new URLs only if every old URL answers a permanent redirect straight to its closest new page. Most traffic lost in a relaunch comes from missing or wrong redirects, not from the new design.
Steps
- Inventory every old URL (before anything is switched off):
- Search Console → Pages and Performance exports (the URLs that have impressions or links).
- The old site's sitemaps, and a crawl of the live site (any crawler, or a Firecrawl
map). - Old URL patterns that may still be linked:
/en/…,/post/…,/index.php?id=…, PDFs.
- Map each old URL to its closest new page in a CSV (
old,new). Old posts without a new equivalent go to their topic page or the home page; never redirect everything to the home page by default. See references/runbook.md. - Implement the redirects as permanent (301 or 308; Google treats both as permanent) in the
host config: references/vercel-redirects.md. Anchor every
pattern (
^/contact$) so an old URL can never catch a new one (/contact/). - Decide the canonical host and URL form and redirect the rest: apex →
www(or the reverse),http→https,/path→/path/(or the reverse),/index.html→/. Test on the preview deployment before the DNS switch:
node <skill>/scripts/check-redirects.mjs --map redirects.csv --base https://<preview>.vercel.appEvery row must be one hop, 301/308, ending on a 200 at the expected path.
Switch DNS, then test again on the real host, plus the host variants:
node <skill>/scripts/check-redirects.mjs --map redirects.csv --base https://www.example.com node <skill>/scripts/check-redirects.mjs --hosts https://www.example.comTell the search engines: submit the new sitemap in Search Console and Bing Webmaster Tools, inspect the 10 most important URLs, keep the old verification tags, and send IndexNow (Bing and Copilot; Google does not use it):
node <skill>/scripts/indexnow.mjs --host www.example.com --since all --dry # check the list node <skill>/scripts/indexnow.mjs --host www.example.com --since all # send (ask first)- Monitor for 4–8 weeks: Page indexing weekly, new 404s in both consoles, queries that brought traffic before against after. Fix any old URL that 404s with a redirect, the same day.
Rules
- Keep redirects for at least a year; for URLs with external links, keep them for good.
- No chains: point every old URL straight at the final page (the checker warns on 2+ hops).
- No redirects in JavaScript or meta refresh for moved pages: use server redirects.
- Don't change URLs and content and domain at once if it can be avoided; each change adds risk.
- Ask before the DNS switch and before IndexNow submissions: both are outward-facing.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

