Redirect generator
Paste pairs of old and new addresses, one pair per line, and choose your host. This tool writes the redirect rules in that host’s format, for Apache .htaccess, Nginx, Netlify, Vercel or Next.js, as permanent or temporary redirects.
It’s for makers moving pages, renaming slugs or switching platforms, who need a lot of redirects written correctly and quickly. Lines it can’t read are listed, so nothing is skipped silently.
Free with a ShipScroll account.
How to use the Redirect Generator
- Enter one pair per line: the old address, then the new one, separated by a space, comma or tab.
- Old addresses can be paths like /old-page or full URLs. New ones can point to another site.
- Choose your host’s format, and whether the move is permanent.
- Press Write rules, copy them into your config, deploy, and test a few with the Redirect Checker.
Where each format goes
| Host | Where the rules go | Permanent code |
|---|---|---|
| Apache | .htaccess in your site root, or the server config | 301 |
| Nginx | Inside the server block of your site’s config | 301 |
| Netlify | A _redirects file in your publish folder | 301 |
| Vercel | vercel.json at the project root | 308 |
| Next.js | The redirects() function in next.config | 308 |
301 or 308?
Both mean “moved permanently”, and Google treats them the same way. 308 also keeps the request method, so a form posting to the old address still posts to the new one. Vercel and Next.js use 308 and 307 for permanent and temporary redirects, and the tool labels the codes to match.
Questions
Do query strings carry over?
It depends on the host. Apache’s Redirect keeps the query string, for example, while an Nginx return rule drops it unless you add $is_args$args. After you deploy, test a link with tracking parameters.
Can it do wildcards like /blog/*?
Not yet. It writes one exact rule per pair. Pattern rules vary a lot between hosts, so write those by hand using your host’s docs.
Should I redirect every old page to the home page?
No. Redirect each old page to the closest matching new one. Sending everything to the home page confuses visitors, and Google may treat those redirects as missing pages.
Are my URLs uploaded?
No. The rules are written in your browser.
Related tools
- Redirect CheckerFollow every hop from an address to the page it ends on, with each status code.
- Slug GeneratorTurn titles into clean, readable URL slugs.
- Canonical URL CheckerCheck which address a page asks search engines to show, and whether it’s right.
