301 Redirect Generator for Apache, Nginx, Netlify, Vercel and Cloudflare
Moving pages or changing URLs? Paste a list of old and new URLs and get correct redirect rules for your server or hosting platform, so visitors and Google rankings follow the move.
Open the free Redirect Rule Generator (.htaccess / Nginx) →What is the Redirect Rule Generator?
301/302 redirect rules for Apache, Nginx, Netlify, Vercel and Cloudflare from a list of old → new URLs. It's completely free, needs no sign-up and works on any phone or computer.

Why it's helpful
- Rules for five popular platforms
- Bulk from a simple list
- 301 or 302 as needed
Who it's for
Developers, SEO specialists and site owners migrating websites.
How to use it
- List old and new URLs, one pair per line.
- Pick your server or host and copy the rules.
💻 Open source: this tool is free and open source (MIT License). View the code on GitHub, download it and run it offline.
The bigger picture: SEO
Search is still one of the biggest free sources of website traffic. Getting titles, sitemaps, structured data and redirects right helps search engines understand and rank your pages.
What's changing: Search engines and AI assistants increasingly read structured data and clean page structure to answer questions directly, so technical SEO basics matter more than ever.
Frequently asked questions
Will redirects lose my rankings?
Proper 301s pass most ranking signals. Redirect each page to its closest new equivalent, not everything to the homepage.
Use the Redirect Rule Generator (.htaccess / Nginx) free →
No sign-up · Runs in your browser



