Redirect Rule Generator (.htaccess / Nginx)

301/302 redirect rules for Apache, Nginx, Netlify, Vercel and Cloudflare from a list of old → new URLs.

How to use

  1. List old and new URLs, one pair per line.
  2. Pick your server or host and copy the rules.

FAQ

Will redirects lose my rankings?

Proper 301s pass most ranking signals. Redirect each page to its closest new equivalent, not everything to the homepage.

Open Redirect Rule Generator (.htaccess / Nginx) · All free tools