Redirect Map Generator
Turn a list of old and new URLs into redirect rules for Nginx, Apache, Caddy, Next.js, Netlify and Laravel, with chains and loops detected.
Free · No sign-up · Your inputs stay in your browser
Input
Generate redirects from a list of old and new URLs
Output
Redirects
6 redirects
/a to /b chains on to /c: point it at /c directly.
301 and 308 are permanent and pass ranking signals to the new URL; 302 and 307 are temporary and keep the old one indexed. An Nginx map is a hash lookup, so thousands of exact redirects cost nothing per request, unlike thousands of location blocks.
Runs in this browser. Nothing you paste is sent to a server.
About this tool
Method, assumptions, practical next steps, and limits.
Redirects after a migration
When URLs change, every indexed page, bookmark and inbound link still points at the old one. A permanent redirect (301 or 308) sends readers to the new page and passes ranking signals to it; Google's redirects documentation recommends server-side permanent redirects for moved content.
Fix chains at the source
If /a redirects to /b and /b to /c, every visit to /a makes two round trips and crawlers may stop following. The generator points out each chain so /a can go straight to /c.