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

  1. Enter one pair per line: the old address, then the new one, separated by a space, comma or tab.
  2. Old addresses can be paths like /old-page or full URLs. New ones can point to another site.
  3. Choose your host’s format, and whether the move is permanent.
  4. Press Write rules, copy them into your config, deploy, and test a few with the Redirect Checker.

Where each format goes

HostWhere the rules goPermanent code
Apache.htaccess in your site root, or the server config301
NginxInside the server block of your site’s config301
NetlifyA _redirects file in your publish folder301
Vercelvercel.json at the project root308
Next.jsThe redirects() function in next.config308

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

Sources