Skip to content

generator · free · no sign-up

Redirect generator

301 and 302 rules for Apache, Nginx, Next.js, and Vercel, including bulk import.

Answers: redirect generator · 301 redirect generator · nginx redirect rule

Read the step-by-step guide · Blog workflow

What this does not measure

  • It writes the rule. It does not prove the rule works, because it never touches your server.
  • It does not look up where a URL currently points. Use the redirect chain checker for that.

How to use this

  1. Paste a list into Bulk import (one line: /old /new 301) or type rows below.
  2. The generated file appears on the right. Copy or download it.
  3. Choose Apache, Nginx, Next.js, or Vercel to match how you host the site.
  4. Deploy that file, then open an old URL and confirm it lands on the new one.

One redirect per line: /old /new 301. Paste and the rows fill in. The file is on the right — copy or download it.

htaccess.txt
Paste a list above or fill From and To. The file appears here so you can copy or download it.