Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Redirect map lost when changing CMS or platform: how to fix it

SEO-298High impactOther toolBy FunnelGuardPublished Updated
On this page

What this issue is

A redirect map is a table of old URLs and the new URLs that replace them. A 301 redirect is a server answer that says a page has moved for good and sends visitors and search engines to the new address.

Redirects are stored in different places depending on the platform: a WordPress redirect plugin, an .htaccess or nginx file, a Shopify URL redirects table, or a Webflow 301 list. When you switch CMS, the content is moved but these rules are often forgotten. The old map is not just missing new entries. It is gone, including years of redirects you added over time.

Why it costs you leads or sales

Old URLs keep getting traffic from Google, backlinks, email campaigns, ads, QR codes and bookmarks. If they return a 404 (page not found), those visitors land on an error page and leave. Search engines also drop those pages from results over time, and the link value they earned does not pass to the new pages.

What happens to a visitor after the map is lost
  1. Old link or search resultGoogle, a backlink or an ad still points to the old URL
  2. New platformRedirect rules were not migrated
  3. 404 pageVisitor sees an error
  4. Lead form or checkoutNever reached

The visitor follows an old link, hits a 404 and never reaches the form or checkout.

Organic visits to old URLs before and after launchExample numbers
Organic visits to old URLs before and after launch (example)Week -2: 1,000 visits per week; Week -1: 1,010 visits per week; Launch: 950 visits per week; Week +2: 600 visits per week; Week +4: 380 visits per week; Week +8: 250 visits per week03877741,0001,010950600380250Week -2Week -1LaunchWeek +2Week +4Week +8visits per week

Example: illustrative numbers showing traffic falling after launch when old URLs return 404 instead of redirecting.

How to check if your site has it

You need a list of the old URLs. Without it, you cannot test anything. Collect it from several sources, because no single one is complete.

Find old URLs that no longer redirect
  1. Build the old URL list

    Combine: the old sitemap (from a backup or the Wayback Machine), a crawl export of the old site if you have one, Google Search Console Performance report (Pages, last 16 months), the Pages report in Google Analytics, and a backlink export from a tool such as Ahrefs, Semrush or Search Console Links.

  2. Test each URL's response

    Run the list through a crawler in list mode (Screaming Frog, for example) or a script. Look for 404 and for 200 responses that show the wrong page. A correct redirect shows 301 followed by 200 on the new page.

  3. Check Search Console

    Open Indexing > Pages and look at 'Not found (404)'. A sudden rise after launch points to lost redirects. Use the URL Inspection tool on a few old URLs to see what Google gets.

  4. Check one URL by hand

    Use the command below to see the status and the redirect target.

Check an old URL's redirectbash
curl -sIL -o /dev/null -w "%{http_code} %{url_effective}\n" https://www.example.com/old-page/

# Show every hop
curl -sIL https://www.example.com/old-page/ | grep -iE "^(HTTP|location)"

How to fix it

The fix has two parts: rebuild the map, then load it into the new platform. Map each old URL to the most relevant new page, not to the home page. Sending everything to the home page is treated by Google as a soft 404 in many cases and gives visitors nothing useful.

Rebuild the redirect map
  1. Create a spreadsheet

    Use two columns: old path (for example /services/seo/) and new URL. Put the highest-traffic and most-linked URLs at the top.

  2. Match each old URL to its closest new page

    Same topic, same intent. If a page no longer exists, pick the nearest parent category or a relevant alternative. Only let it return 410 or 404 if there is truly no equivalent.

  3. Avoid chains and loops

    Point old URLs straight at the final new URL, not at another redirect.

  4. Recover old rules if you can

    If the old site is still available, export its redirects (plugin export, server config or CMS settings) and merge them into the sheet.

  5. Load the map on the new platform

    Use the platform instructions below.

Add the redirects on your platform
  1. Use a redirect tool

    Install a redirect plugin such as Redirection, or use the redirect module of your SEO plugin (Rank Math or Yoast Premium). Import your CSV of old and new URLs.

  2. Or edit the server file

    On Apache, add rules to .htaccess. On nginx, add them to the server config. Server-level rules are faster for large maps.

Apache .htaccess examplehtaccess
Redirect 301 /old-services/seo/ https://www.example.com/services/search-engine-optimization/
Redirect 301 /blog/old-post/ https://www.example.com/blog/new-post/
nginx examplenginx
location = /old-services/seo/ {
  return 301 https://www.example.com/services/search-engine-optimization/;
}
Before and after rebuilding the map

Map lost

  • Old URLs return 404
  • Backlinks lead nowhere
  • Search traffic drops week by week
  • Ads and emails land on an error page

Map rebuilt

  • Old URLs return one 301 to the matching page
  • Backlink value passes to new pages
  • Visitors reach the form or product
  • Search Console 404s fall

How to confirm it's fixed

Confirmation checks
  • Re-run your old URL list through a crawler: every URL gives one 301 then a 200
  • No redirect chains longer than one hop
  • No old URL redirects to the home page unless that is the right match
  • Top 20 landing pages and top backlinked pages tested by hand in a browser
  • URLs with tracking parameters (utm, gclid) keep working and keep the parameters
  • Search Console 'Not found (404)' count stops rising over the following weeks
  • Sitemap on the new site lists only the new URLs

How to prevent it happening again

Treat the redirect map as part of the site, not a setting inside a plugin. Before any platform change, export it and store it somewhere you control.

Migration safeguards
  • Export the old redirect rules and a full old URL list before you start
  • Keep a copy of the old sitemap and a crawl of the old site
  • Write the new redirect map before launch day and test it on staging
  • Launch redirects at the same time as the new site, never later
  • Keep the old redirects live for at least a year
  • Store the map in version control or a shared document
  • Check Search Console for 404 spikes for several weeks after launch

How FunnelGuard handles this

FunnelGuard does not check this yet. Checking old URLs against a redirect map is a possible future check, but today it is not part of the product.

What FunnelGuard does do is run your real customer journeys on a schedule, such as a lead form, checkout or booking button, and check each step, the tracking hits and whether test leads arrive. If a migration breaks a step in one of those journeys, for example a landing page that no longer loads, that is the kind of break a journey run is built to show. It will not tell you about old URLs that nobody has put into a journey.

Questions people ask

Why are my old URLs showing 404 after changing CMS?

The redirect rules were stored in the old system, such as a plugin or server file, and were not moved to the new platform. The new site has the content at new addresses but no instructions to send old addresses there. You need to rebuild the map and add 301 redirects on the new platform.

How do I find the old URLs if I lost the redirect map?

Combine several sources: an old sitemap or backup, the Wayback Machine, Google Search Console performance data, analytics landing pages and a backlink export. No single source is complete, so merge them and remove duplicates. Then test each URL for its status code.

Should I redirect all old pages to the home page?

No. Redirect each old page to the closest matching new page. Mass redirects to the home page lose relevance and Google may treat them as soft 404s. Only use a broader target when there is no equivalent page.

Can I recover rankings after losing redirects?

Often you can recover much of the traffic if you add the correct 301 redirects, but it is not guaranteed and takes time for Google to recrawl. The sooner you restore them, the better. Also make sure the new pages have the same or better content.

How long should I keep 301 redirects?

Keep them for at least a year, and longer for URLs that still have backlinks or traffic. Google may take months to process a move fully. Removing them early can bring the 404s back.

How do I bulk import redirects into Shopify?

Go to the URL Redirects section in the admin, choose Import, and upload a CSV with the columns Redirect from and Redirect to. Shopify will add each rule. A path that still has a live page cannot be redirected until that page is removed.

Does FunnelGuard check for lost redirects after a migration?

No, FunnelGuard does not check this yet. It runs your real customer journeys and checks the steps, tracking and lead delivery, so it can show a break in a journey you set up. For redirect maps, use a crawler and Search Console.

Does FunnelGuard catch this?

Other tool

Needs a different kind of tool.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.