301 Redirect Generator
Paste pairs of old and new URLs and get the redirect rules for your platform: .htaccess, Nginx, Vercel, Netlify, Cloudflare or Next.js. Handles domain changes, trailing slashes and wildcards, so a site migration doesn't leak the rankings you built.
- Instant·Runs in your browser
- No signup
- Free
Redirects
Target
0
Rules
0
Wildcards
.htaccess
File
Add redirects to see the rules.
Next step
Tools that pair with this one
How to use it
- 1Paste one redirect per line as `old-path -> new-url` (or comma / tab separated).
- 2Choose your platform.
- 3Copy the rules into the right file: .htaccess, nginx.conf, vercel.json, _redirects or next.config.js.
- 4Test a few in a browser and re-crawl in Search Console.
Frequently asked
301 or 308?
Both are permanent. 308 additionally preserves the request method, which matters for form posts and APIs. Next.js and Vercel use 308 by default for permanent redirects; search engines treat them the same.
Do redirects pass ranking signals?
Google has said since 2016 that 301, 302 and 307 all pass PageRank. Use 301 for permanent moves so the new URL replaces the old one in the index.
Want this on autopilot?
Enter your site to see how often ChatGPT, Perplexity, Gemini, and Google cite your brand, and exactly what to publish next.
No credit card required · Free 7-day trial
