↪️ Redirect Generator — Free Online
Generate 301 redirect rules for Apache .htaccess and Nginx from old-to-new URL pairs. Free online redirect generator with chain-safe output, local.
Old URL → new URL pairs become correct 301 server rules — Apache .htaccess and Nginx dialects included, chain-safe.
How to use redirect generator
- Add from/to URL pairs (one per row).
- Pick Apache .htaccess or Nginx.
- Copy into server config + test headers.
Features
- Apache .htaccess + Nginx output
- Multi-row pairs
- 301 (permanent) semantics
- Copy block, local
Privacy
This tool runs entirely in your browser. Your files and text stay on your device — nothing is uploaded, and nothing is sent to analytics. Privacy policy
How this tool is tested
This page is the real tool, not a screenshot: it runs locally in your browser and is verified in current Chrome, Edge, Firefox, and Safari before each release. Your input stays on your device for supported tasks.
By Mccowns.com team · Reviewed
Frequently asked questions
How do I create a 301 redirect in .htaccess?
Add each old → new pair above, choose Apache, and copy the RewriteRule lines into your .htaccess, then test with a header checker.
301 vs 302?
301 passes link equity for permanent moves; 302 is temporary. This tool emits 301.
Chains?
Avoid A→B→C chains — point every old URL at its final destination.
Where do rules go?
.htaccess (Apache) or server block (Nginx), then test with a header checker.