Free Tool

Free Redirect Mapper: Match Old URLs to New URLs for a Site Move

Paste your old URLs and your new URLs and this free redirect mapper matches each old page to its closest new page, flags weak matches and chains, and gives you ready-to-paste 301 rules for Apache or Nginx plus a CSV. No signup, nothing leaves your browser.

Redirect map Waiting for input
Paste old and new URLs to build the map.
How it works

Map old URLs to new URLs in three steps

01

Paste your old URLs

Add the list of old addresses, one per line, from your crawl or sitemap.

02

Paste your new URLs

Add the new addresses. The tool matches each old page to its closest new one.

03

Review and copy the rules

Check the Review and No match rows, then copy the 301 rules for Apache or Nginx, or download the CSV.

How the Matching Works

  • Path clean-up first. Each URL is reduced to its path. The domain, query string, fragment, letter case, trailing slash and common extensions such as .html and .php are ignored.
  • Same path. If an old path appears unchanged in the new list, it is an exact match and scores 100.
  • Same page name, new folder. When the last part of the path is identical but the folder changed, the match is strong.
  • Word overlap. Otherwise the tool compares the words in the two paths, ignoring common filler words, and picks the new URL with the highest overlap.
  • Three outcomes. A strong match is marked Match, a partial one is marked Review, and anything weaker is marked No match so you decide it by hand instead of sending it somewhere irrelevant.
  • Chain and merge warnings. The tool flags a target that is itself an old URL, which would create a redirect chain, and counts how many old pages point at the same new page.

What a Redirect Map Is For

When URLs change, a redirect map says which new page each old page should send visitors and search engines to. Google distinguishes between permanent and temporary redirects: with a permanent redirect it treats the new target as the canonical page, while a temporary one can leave the old page in results. For a site move it recommends permanent server-side redirects wherever possible.

Google's site move guidance also says not to send many old URLs to one irrelevant destination such as the new homepage, which can be treated as a soft 404, and to keep redirects for as long as possible, generally at least a year. That is why this tool leaves weak matches unmatched instead of filling every row.

The matching uses words in the URL only. It does not read your pages, so it cannot tell whether two pages cover the same topic. Treat the result as a first draft, check every Review and No match row, and test a sample of the final redirects before launch.

Related Questions About Redirect Mapping

URL Redirect Mapper: What It Does

This URL redirect mapper matches each old page to its closest new page, flags weak matches and chains, and gives you ready-to-paste 301 rules for Apache or Nginx plus a CSV. It runs in your browser, so your URLs are never uploaded.

Redirect Mapping Tool: How the Matching Works

Each URL is reduced to its path, ignoring the domain, query string, fragment, letter case, trailing slash and extensions such as .html and .php. An old path that appears unchanged in the new list is an exact match. Otherwise the tool compares the words in the two paths and picks the new URL with the highest overlap.

Redirect Match: Match, Review or No Match

A strong match is marked Match, a partial one is marked Review, and anything weaker is marked No match, so you decide it by hand instead of sending visitors to something irrelevant. The matching uses words in the URL only and does not read your pages, so check the weaker matches against the actual content.

Redirect Mapper: Why Some Old URLs Stay Unmatched

No new URL shared enough words with them. Google's site move guidance says not to send many old URLs to one irrelevant destination such as the new homepage, which can be treated as a soft 404, so unmatched URLs are listed for you to map by hand or retire.

Redirect Mapping for a Site Move

A redirect map says which new page each old page should send visitors and search engines to. For a site move Google recommends permanent server-side redirects where possible and keeping them for as long as possible, generally at least a year. See our site migration guide.

Redirect Map Generator: Chains and Merges

The tool flags a target that is itself an old URL, which would create a redirect chain, and counts how many old pages point at the same new page so you can confirm a merge was intended. If a redirect misbehaves later, see 301 redirect not working.

Redirect Mapper FAQs

Does the mapper look at the content of my pages?

No. It compares only the words in the URLs you paste, so it cannot see page content or intent. Review the weaker matches against the actual pages.

Which redirect type do the rules use?

301, a permanent redirect, which is what Google recommends for a permanent move. Change the code yourself if you need a temporary redirect.

Why are some old URLs left unmatched?

No new URL shared enough words with them. Redirecting them to an unrelated page, especially the homepage, is discouraged, so they are listed for you to map by hand or retire.

Can several old URLs point to one new URL?

Yes, when old pages were merged into one. The tool counts these so you can confirm that the merge was intended.

Does this tool store or send my URLs anywhere?

No. The matching runs in your browser with JavaScript, nothing is uploaded, logged, or stored on any server, including ours.

Is there a free redirect map generator?

Yes. This one is free, needs no signup and builds the map and the Apache or Nginx rules in your browser.

Does the redirect mapper use 301 or 302 rules?

It writes 301 rules, a permanent redirect, which is what Google recommends for a permanent move. Change the code yourself if you need a temporary redirect, and see our 301 vs 302 guide.

Keep Going: Related Tools and Guides

Planning a site move or redesign?

Contomatix maps URLs, checks redirects and monitors indexing through the move.