Redirect generator
Paste your old → new URLs, choose 301 or 302, and copy ready-to-use redirect rules for Apache .htaccess, Nginx, and Vercel/Netlify. Everything runs in your browser.
Old → new URLs
One redirect per row. Use full URLs or paths starting with /.
Options
Redirect type
Your domain
Used for www and HTTPS rules. Example: example.com
www
HTTPS
Generated rules
Add at least one old → new pair to generate rules.
Everything runs in your browser. No upload, no sign-up.
How it works
STEP 1
List your redirects
Add a row for each page that moved — the old URL on the left, the new URL on the right.
STEP 2
Pick your options
Choose 301 or 302, and optionally force www / non-www and HTTPS for the whole site.
STEP 3
Copy & paste
Switch between Apache, Nginx or Vercel/Netlify, copy the block, and paste it into your server config.