Guide · Developer Tools / Code & DevOps
About Nginx & Apache .htaccess 301 Redirect Generator
Convert pairs of `oldPath, newPath` URL migrations into copy-ready permanent HTTP 301 Nginx `rewrite` and Apache `.htaccess` `Redirect 301` rules.
When to use this tool
Speeds up site-migration redirect mapping without writing repetitive server blocks by hand.
How to use Nginx & Apache .htaccess 301 Redirect Generator
- Enter comma-separated `oldPath, newPath` pairs (one per line).
- Copy either the Nginx config block or Apache `.htaccess` rules.
Supported inputs, options, and outputs
- Input: Multi-line `old, new` path pairs.
- Output: Ready-to-paste Nginx and Apache 301 rules.
Accuracy notes and limitations
- Generates literal path redirects—query-string matching or regex capture groups need custom server rules.
- Test on staging before reloading production web servers.
Privacy and browser processing
Code snippets, secrets, tokens, keys, and network headers run strictly in browser memory (including Web Crypto SubtleCrypto)—nothing is transmitted to IJM servers. Hosted deployments load cookie-free analytics and Google Fonts.
Read the full IJM Privacy Policy or browse all Developer Tools.