# URL mapping

> URL mapping pairs every old URL with its new destination before a site move. How to build the list, what Google says about redirects, and a check script.

Canonical: https://scaplet.com/glossary/url-mapping

Glossary Glossary · Migrations

URL mapping pairs every old URL with its new destination before a site move. How to build the list, what Google says about redirects, and a check script.

2 min

read

1

sources

Oct 31, 2026

updated

Scaplet Editorial Team

author

In one line

URL mapping is the list that pairs each old URL with the new URL it should redirect to during a site move or restructure. Google's site move guidance says to build it from sitemaps, logs, analytics and Search Console, then implement it with server-side permanent redirects, preferably 301 or 308, pointing straight at each final destination.

30-second check

## Is this costing your site traffic?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?

Summarize this page with [ChatGPT](https://chatgpt.com/?hints=search&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Furl-mapping%20(%22URL%20mapping%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Claude](https://claude.ai/new?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Furl-mapping%20(%22URL%20mapping%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Perplexity](https://www.perplexity.ai/search?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Furl-mapping%20(%22URL%20mapping%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [![Google](/logos/ai/google-color.svg)AI Mode](https://www.google.com/search?udm=50&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Furl-mapping%20(%22URL%20mapping%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.)

## At a glance

4 facts from the sources below

Server-side permanent, preferably 301 or 308

Redirect type

Ideally no more than 3, fewer than 5

Chain guidance

As long as possible, generally at least one year

Keep redirects

Sitemaps, server logs, analytics, Search Console

Where to start

_01_At a glance

## Anatomy of a URL map

Column or row

### `old_url`

Why it is there

Every URL that earned traffic or links, including images, videos, JavaScript and CSS files, as Google's guide advises

Column or row

### `new_url`

Why it is there

The most relevant equivalent page, not the home page by default

Column or row

### `type`

Why it is there

Permanent: 301 or 308 where possible; client-side redirects are a last resort

Column or row

### Many-to-one rows

Why it is there

Fine when several old pages are merged into one new page

Column or row

### Home page as catch-all

Why it is there

Google warns that sending many old URLs to one irrelevant page, such as the new home page, can be treated as a [soft 404](/glossary/soft-404)

redirect-map.csv

```
old_url,new_url,type /blog/2019/seo-tips/,/guides/seo-tips/,301 /products/widget-a,/shop/widget-a,301 /about-us.html,/about/,301 /old-promo/,/pricing/,301 /img/logo-old.png,/img/logo.png,301
```

_02_How it works

## Building the list

1. 1

### Collect old URLs

Start from important pages in your sitemaps, server logs, analytics and the [Search Console](/glossary/google-search-console) Links to your site report. A CMS export can give the full list.
2. 2

### Map each to a new destination

Decide where every old URL goes. Keep the mapping in a database, or use rewrite rules for repeating patterns.
3. 3

### Update the new site

Give each new URL a self-referencing `rel="canonical"`, update `hreflang` if you use it, and change [internal links](/glossary/internal-links) to the new URLs.
4. 4

### Save a sitemap and a backlink list

Keep a sitemap of the new URLs, plus a list of sites linking to the old ones so you can ask for updates.
5. 5

### Redirect, then monitor

Configure server redirects and watch traffic on both old and new URLs.

Numbers from Google's site move guide
| Limit | Value |
| Hops Googlebot can follow | Up to 10 |
| Recommended chain length | Ideally no more than 3 and fewer than 5 |
| How long to keep redirects | As long as possible, generally at least one year |
| Small and medium sites | Generally move all URLs at once |
| Large sites | Can move one section at a time |

_03_Check it

## Check it in 2 minutes

**Common mistake: mapping to the home page**When no equivalent page exists, the lazy answer is the home page. Google says mass redirects to an irrelevant page can be treated as soft 404s. Map to the closest relevant page, or let a truly retired page return a not found status.

**Change of Address is only for domain moves**Search Console's Change of Address tool applies to a domain or subdomain change. Google says not to use it for HTTP to HTTPS, www to non-www, or path moves on the same domain.

Test every row of the map

```
tail -n +2 redirect-map.csv | while IFS=, read old new type; do r=$(curl -s -o /dev/null -w '%{http_code} %{num_redirects} %{url_effective}' -L "https://example.com$old") echo "$old -> $r (expected $new)" done # Want: final URL equals new_url, status 200, num_redirects 1
```

Sources · 1

## Every fact, linked and dated.

Official docs first. The date is when we last opened each page.

- google.com

1. 01 [Site moves with URL changes (Google Search Central)](https://developers.google.com/search/docs/crawling-indexing/site-move-with-url-changes) developers.google.com · checked 2026-11-01

## Keep learning

[All glossary](/glossary)

[Learn Site migration Fundamentals](/glossary/site-migration) [Related Soft 404 Crawling](/glossary/soft-404) [Read next Canonical URL Crawling and indexing](/glossary/canonical-url) [Do Run a free site audit Free, about two minutes](/site-audit)

Nearby in glossary
[URL Inspection tool](/glossary/url-inspection-tool) [URL length](/glossary/url-length) [URL parameters](/glossary/url-parameters) [URL Rating](/glossary/url-rating)

Terms on this page
[Soft 404](/glossary/soft-404) [Google Search Console](/glossary/google-search-console) [Internal links](/glossary/internal-links)

Free · 2 minutes

## Know the term. _Now check your site._

The free audit reads robots.txt, sitemaps, status codes, canonicals, redirects and structured data.

[Audit my site free](/site-audit)

Free, no card 60 seconds Nobody will call you

- **46** fixes shipped without a ticket Brightpipe
- **+212%** organic clicks in 90 days Ledgerly
