Site Migration Tool
Bulk 301 Redirect Rule Generator & Chain Validator
Paste legacy-to-new URL mappings to detect loops, self-redirects and duplicates, automatically flatten multi-hop chains to single-hop 301s, and export configs for Next.js, Vercel, NGINX, Apache and Cloudflare.
1 hop
Auto-flattens A → B → C chains to direct A → C
12+ mo
Google minimum retention window for 301 rules
5 formats
Next.js, Vercel, NGINX, .htaccess & Cloudflare CSV
1. Paste Redirect Pairs (Old → New)
One rule per line separated by ->, comma, tab or space. Multi-hop chains are automatically flattened to single-hop 301s.
Clean single-hop 301 map: 4 rules ready (1 multi-hop chain auto-flattened).
Automatic chain optimizations:
- Flattened 2-hop chain: "/blog/technical-seo-audit-checklist-2024" now redirects directly in 1 hop to "/blog/technical-seo-audit-checklist".
// next.config.ts
async redirects() {
return [
{
source: "/old-blog/seo-checklist",
destination: "/blog/technical-seo-audit-checklist",
permanent: true,
},
{
source: "/blog/technical-seo-audit-checklist-2024",
destination: "/blog/technical-seo-audit-checklist",
permanent: true,
},
{
source: "/pricing-legacy",
destination: "/pricing",
permanent: true,
},
{
source: "/docs/v1/api",
destination: "/docs/api",
permanent: true,
},
];
}Frequently Asked Questions
- Why should I flatten redirect chains before a site migration?
- Every extra redirect hop adds network latency, consumes Googlebot crawl budget, and risks Googlebot abandoning chains longer than 5–10 hops—always map old URLs directly to their final HTTP 200 canonical in 1 hop.
- How long should 301 redirects stay active after migrating URLs?
- Google Search Central explicitly recommends keeping permanent 301/308 redirects in place for at least 12 months—and permanently if external backlinks still point to legacy URLs.
- Should Next.js migrations use permanent: true (308) or vercel.json 301?
- Google treats both HTTP 301 and HTTP 308 as equivalent strong permanent canonical signals; Next.js permanent: true emits HTTP 308 while vercel.json statusCode: 301 emits HTTP 301.
Primary Sources
Verified
- Google Search Central: Redirects And Google SearchNovember 27, 2026
- RFC 9110: HTTP 301 & 308 Permanent RedirectsNovember 27, 2026
Related Research Guides
- November 27, 2026Site Migration SEO Playbook: Traffic Recovery Data, Redirect Maps And Launch Audit1,052 domain migrations averaged 304 days median recovery (only 27% recover in 90 days). Full 301 map, Change of Address and launch checklist.
- October 9, 20269 HTTP Status Codes That Impact SEO And Backlinks: RFC 9110 VerdictsNine HTTP status codes (200, 301, 302, 308, 403, 404, 410, 429, 503) explained with RFC 9110 rules, Googlebot crawl handling and backlink verdicts.
- November 27, 2026Canonical Tags And Duplicate Content: Why Google Ignores Your Canonical And How To Fix It60% of the web is duplicate content and 67% of mobile pages use rel=canonical—yet Google treats it as a hint. How canonicalization works and fixes.
- November 27, 2026Link Reclamation And Broken Links Data: 404 Recovery, Unlinked Mentions And OutreachCold outreach averages 8.5% replies and 1–3% links across 12M emails. Why owned 404 redirects and unlinked brand mentions beat broken-link spam.