301 Redirect Rules Generator
Draft Apache 301 redirect rules from old and replacement paths. This tool runs in your browser and does not need an API key.
Use the 301 Redirect Rules Generator
Draft Apache 301 redirect rules from old and replacement paths.
Result
How to use this tool
Enter one old path and destination per line, separated with a vertical bar. Review rules and back up .htaccess before applying.
Frequently Asked Questions
Can a bad redirect cause problems?
Yes. Incorrect rules can create loops or send visitors to the wrong page. Test carefully.
What does a 301 redirect mean?
A 301 is a permanent redirect from one URL to another. Use it when a page has permanently moved.
Should I back up .htaccess before adding rules?
Yes. Save a copy and test each rule. A typo or redirect loop can make pages unavailable.
Can redirect rules point to full URLs?
They can, but check the generated destination and your server configuration before adding the rules.