Generator

Free 301 Redirect Generator

Paste a list of old and new URLs and get redirect rules for Apache, Nginx, Netlify, Vercel, Next.js or IIS — with checks for loops and chains.

Separate the two with a space, tab or comma. You can paste straight from a spreadsheet.

0 rules · .htaccess
Add some old → new pairs above.

Migrating URLs? Get the new ones indexed quickly

After a move, search engines have to find every new URL before rankings settle. IndexBoost reads your updated sitemap and submits the new pages right away, so traffic recovers faster after a migration.

Get started free

Context

Redirects done right

1

Redirect to the closest match, not the homepage

Sending every retired URL to the homepage is treated a lot like a 404. Point each one to the page that best replaces it, so both visitors and ranking signals land somewhere relevant.

2

Avoid chains

A → B → C wastes crawl time and slows visitors down. When you add new redirects, update older ones to point straight at the final destination.

3

Keep redirects in place for a long time

Search engines need to revisit the old URL to see the redirect, and bookmarks and backlinks keep sending traffic for years. Leave permanent redirects in place for at least a year — ideally indefinitely.

4

Update internal links too

A redirect is a safety net, not a fix. After a migration, update your navigation, sitemaps and in-content links to use the new URLs directly.

FAQ

Common questions

Back to all free tools