# domain-migration

The domain-migration Claude Code skill prepares URL redirects and SEO changes for a site migration. It activates for domain changes, site merges, and bulk URL renaming.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode, Windsurf (Devin Desktop), Claude.ai · 395 installs · ★ 1797 repo stars
- Author: illyism
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/Illyism/seo-skills/tree/HEAD/seo/domain-migration/SKILL.md
- Updated: 2026-11-16
- Security check: automated, 2026-11-17 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/domain-migration

## What it does

The skill inventories old URLs and maps each one to a destination. It prepares a redirect map, host configuration, and `scripts/verify-redirects.sh`, along with canonical and schema edits and backlink outreach drafts in `seo/backlink-transfer-emails.md`.

It covers domain changes, moving a blog from a subdomain into a folder, merging sites, and consolidating URL slugs. Deleted pages with clicks or referring domains need a relevant destination; if none exists, the workflow calls for restoring the page. The old domain needs valid HTTPS for redirects.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add Illyism/seo-skills --skill domain-migration -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/domain-migration/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/domain-migration/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add Illyism/seo-skills --skill domain-migration -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/domain-migration/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add Illyism/seo-skills --skill domain-migration -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/domain-migration/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install Illyism/seo-skills seo/domain-migration/SKILL.md
```

2. **Manually: put the files in place**
- File: `.github/skills/domain-migration/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add Illyism/seo-skills --skill domain-migration -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/Illyism/seo-skills --path seo/domain-migration
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/domain-migration/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add Illyism/seo-skills --skill domain-migration -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/Illyism/seo-skills/tree/HEAD/seo/domain-migration/SKILL.md

## When to use it
- map old URLs to their replacement pages
- prepare redirects for a domain rebrand
- move a blog from a subdomain into a site folder
- match retired pages after merging sites
- check a redirect configuration with a script

## Example prompts
- Prepare a site move to a new domain and map the old URLs to their destinations.
- Move the blog from its subdomain to `/blog` and check the target URLs.
- Merge these sites and match each old page to a relevant page on the surviving site.

## Similar
- [rebranding-strategy](https://affpapa.org/en/nevibecode/skills/rebranding-strategy.md) — skill · 1200 installs
- [domain-strategy](https://affpapa.org/en/nevibecode/skills/domain-strategy.md) — skill · 283 installs
- [migrate-site](https://affpapa.org/en/nevibecode/skills/migrate-site.md) — skill · 2100 installs
- [domain-dns-ops](https://affpapa.org/en/nevibecode/skills/domain-dns-ops.md) — skill · 192 installs
- [post-launch](https://affpapa.org/en/nevibecode/skills/post-launch.md) — skill · ★ 137 repo stars
- [pre-launch](https://affpapa.org/en/nevibecode/skills/pre-launch.md) — skill · ★ 137 repo stars

From the same set: [illyism/seo-skills](https://affpapa.org/en/nevibecode/by/illyism/seo-skills.md) — 29 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
