# Redirect Rule Generator

> Generate redirect rules for Apache, Nginx, Netlify, Vercel and Next.js.

To create a redirect rule, enter the old and new paths and pick your server. Rules are generated for Nginx, Apache, Netlify, Vercel and Next.js. Use 301 for permanent moves so search engines transfer ranking signals to the new URL.

**URL:** https://convertto.tech/t/redirect-generator
**Category:** Developer Tools (https://convertto.tech/c/developer-tools)
**Privacy:** Runs entirely in the browser; no upload
**Cost:** Free, no sign-up
**Last updated:** 2026-08-01

## Key facts

- **Privacy:** Runs entirely in your browser — nothing is uploaded
- **Cost:** Free, unlimited, no sign-up

## How to use

1. Enter or paste your from path.
2. Enter or paste your to path or url.
3. Choose the server.
4. Turn "Permanent (301)" on or off as needed.
5. The result appears immediately — copy or download it.

## FAQ

### Should I use 301 or 302?

301 for permanent moves — it transfers ranking signals and browsers cache it, sometimes indefinitely. 302 for temporary situations such as maintenance or A/B tests, where you want the original URL to keep its authority.

## Related tools

- [Log File Parser](https://convertto.tech/t/log-parser): Parse Apache, Nginx or JSON log lines into a sortable table with traffic summaries.
- [Cron Expression Parser](https://convertto.tech/t/cron-expression-generator): Translate a cron expression into plain English and see when it will next run.
- [.gitignore Generator](https://convertto.tech/t/gitignore-generator): Build a .gitignore file for your stack, with the entries people usually forget.
- [htpasswd Generator](https://convertto.tech/t/htpasswd-generator): Create Apache and Nginx basic-auth credentials with bcrypt, SHA-1 or MD5-crypt.
- [Naming Convention Converter](https://convertto.tech/t/case-detector): Convert an identifier between every common naming convention at once.
- [Cron Next Run Calculator](https://convertto.tech/t/cron-next-run): See the next fire times for a cron expression, with each field explained.
- [Content Security Policy Generator](https://convertto.tech/t/csp-generator): Build a CSP header from common presets, with each directive explained.
- [Text Diff Checker](https://convertto.tech/t/diff-checker): Compare two texts and highlight exactly what was added and removed.
- [Sample Log File Generator](https://convertto.tech/t/sample-log-generator): Generate realistic Apache, Nginx, JSON, syslog or application logs with a controllable error rate.
