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
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.
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.
Four quick questions, then a straight answer.
From your answers, this is quietly costing you traffic and nobody has the hours to chase it. Scaplet finds every affected page, drafts the fixes and tracks how AI answers mention you.
A data platform shipped 46 fixes without a ticket.
This looks handled. Re-check after a redesign, a migration or a big content push; that is when it breaks.
Your site is small and you have the time. Work through the steps on this page, starting with the pages that get the most traffic.
old_urlnew_urltypeold_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,301Start 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.
Decide where every old URL goes. Keep the mapping in a database, or use rewrite rules for repeating patterns.
Give each new URL a self-referencing rel="canonical", update hreflang if you use it, and change internal links to the new URLs.
Keep a sitemap of the new URLs, plus a list of sites linking to the old ones so you can ask for updates.
Configure server redirects and watch traffic on both old and new URLs.
| 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 |
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 1The free audit reads robots.txt, sitemaps, status codes, canonicals, redirects and structured data.