Redirect Generator
Turn source and destination pairs into ready-to-paste redirect rules for htaccess, nginx, Netlify and Vercel.
Build redirect rules
Rules built: 0
Target: -
How to use the Redirect Generator
- Add one redirect pair per line with the old path first and the new path second.
- Choose a status code, decide whether to keep the query string and pick your server.
- Click Build rules and copy the snippet into your configuration file.
Features
- Four targets: htaccess, nginx, Netlify and Vercel
- 301, 302, 307 and 308 status codes
- Optional query string preservation and HTTPS forcing
- Wildcard support with splat and capture groups
Advertisement
Frequently Asked Questions
Common questions about the free online redirect generator.
It is a server instruction that sends a request for one address to a different address, with
a status code that explains why.
Add one source and destination pair per line, choose the status code and server, then click
Build rules and copy the output.
Use 301 for a permanent move. Browsers cache it aggressively, which helps rankings but makes
mistakes hard to undo.
Use 302 for a temporary move, such as a maintenance page or an experiment, so clients keep
requesting the original address.
Both are temporary, but 307 forbids clients from changing the request method, so posted data
is preserved.
It does when you keep the query string option on, which appends the original parameters to
the destination address.
An asterisk matches any remaining path, and the destination reuses it as a splat or capture
group so deep links keep working.
A single permanent redirect passes signals to the new address, but long chains and redirect
loops waste crawl budget.
Paste htaccess rules into the site root file, nginx rules into a server block, and the other
formats into their own config file.
Yes. Rules are built in your browser, nothing is uploaded, and the tool is free with no
account and no limits.
Last updated: October 10, 2026