Redirect mapper for site moves

Paste the URLs of the old site and the new one. The mapper pairs them up, shows how sure it is about each match, and writes the 301 rules for you.

Map old URLs to new URLs

Runs in your browser. Nothing you paste leaves your computer.

Getting the lists

Where to find the old and new URLs

  • Old site: run the crawler on it, export pages from Search Console, or copy the old sitemap.xml.
  • New site: crawl the staging copy, or paste the URLs from its sitemap.
  • Full addresses and paths both work, so /about-us.html and https://www.example.com/about-us.html are treated the same.

After uploading the rules

Test every old address

Paste the old URL list into the bulk redirect checker. It follows every hop and shows where each old address ends up, so a typo in one rule never goes unnoticed.

Look for chains as well as errors: if the old site already had redirects, point them straight at the final new page rather than through the old one.

Questions

Redirect mapping questions

How does the mapper match old URLs to new ones?

First it looks for the same path on the new site. Then it looks for the same final part of the address (the slug), ignoring endings such as .html and .php. Anything left is matched on shared words in the address, and each match gets a confidence score so you know which ones to check.

Are my URL lists uploaded anywhere?

No. The mapper runs entirely in your browser. Nothing you paste is sent to our server, so it is safe to use with client sites that are not public yet.

Which redirect code do the rules use?

Every rule is a 301, the permanent redirect search engines expect when a page has moved for good.

Why mod_rewrite rules instead of Redirect lines?

A plain Redirect line in .htaccess matches the start of an address, so a rule for /blog would also catch /blog/first-post. The RewriteRule lines the mapper writes match each old address exactly, with or without a trailing slash, and can match query strings too.

What should happen to pages with no new equivalent?

Send them to the closest relevant page, such as the category they belonged to. Sending everything to the home page is treated by Google as a soft 404, so the mapper leaves unmatched URLs out unless you set a fallback.