Your files stay on your device

# Redirect rule generator

Turn old and new URL pairs into Apache, Nginx, or IIS redirect rules, with loops and off-site targets refused.

Paste your old and new URL pairs, then press Generate. # lines are comments.

Loops, chains, self-redirects, duplicate sources, non-http(s) schemes, and off-site destinations are refused before any rule is written. Everything runs in this tab; nothing is uploaded.
OptionsGenerate the rules

## More config file tools

- [nginx.conf explainer](/config/nginx)
- [SSH config explainer](/config/ssh)
- [.env editor](/config/env)
[All config file tools](/config)

Was this tool useful?
YesNo

---

Canonical HTML: https://nutter.tools/config/htaccess-redirect-generator
Markdown version: https://nutter.tools/config/htaccess-redirect-generator.md
Plain-text version: https://nutter.tools/config/htaccess-redirect-generator.txt
Agent index: https://nutter.tools/llms.txt

