Free auditStart free
GlossaryGlossary · Migrations

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.

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 withChatGPTClaudePerplexityGoogleAI Mode

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
01At 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
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
02How it works

Building the list

  1. 1

    Collect old URLs

    Start from important pages in your sitemaps, server logs, analytics and the 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 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
LimitValue
Hops Googlebot can followUp to 10
Recommended chain lengthIdeally no more than 3 and fewer than 5
How long to keep redirectsAs long as possible, generally at least one year
Small and medium sitesGenerally move all URLs at once
Large sitesCan move one section at a time
03Check it

Check it in 2 minutes

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. 01Site moves with URL changes (Google Search Central)developers.google.com · checked 2026-11-01
Free · 2 minutes

Know the term. Now check your site.

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

Free, no card60 secondsNobody will call you
  • 46 fixes shipped without a ticket Brightpipe
  • +212% organic clicks in 90 days Ledgerly