Orofold Labs

Launching soon

Notes Get in touch

Search 4 min read Updated

Legacy e-commerce migration without an SEO traffic drop

In short

Organic traffic drops during a shop migration almost always stem from unmapped URLs, redirect chains, broken canonicals, or blocked crawling; prevent them with log-driven 301 maps and staged verification.

Rebuilding an ageing e-commerce store on a modern stack often improves speed and checkout conversion, yet wipes out years of organic search equity if URL changes are handled carelessly. Preserving rankings during a legacy shop migration comes down to four disciplined steps: inventorying real URLs from logs, building a single-hop 301 redirect map, keeping canonicals consistent, and verifying the rollout immediately.

Start with bot log analysis, not just the sitemap

Legacy shops accumulate messy URLs over years: old category paths, uppercase variants, trailing-slash inconsistencies, and seasonal landing pages with external backlinks. Relying solely on the current XML sitemap misses those historical entry points.

Before freezing URL design, combine three sources into one URL inventory:

  • Server access logs: Extract URLs requested by Googlebot and other search crawlers over recent weeks to see which legacy paths still consume crawl attention.
  • Search Console and analytics landing pages: Identify every product, category, and guide page that actually earns impressions, clicks, or conversions.
  • External backlink exports: Preserve high-authority links pointing to discontinued campaigns or old PDF brochures.

Build a clean one-to-one 301 redirect map

Follow Google’s site move with URL changes guide and map every legacy URL directly to its closest equivalent on the new platform using a permanent 301 redirect. Avoid redirect chains where an old URL bounces through two or three intermediate rules, as chains dilute signals and slow crawling; see redirect best practices.

For genuinely discontinued items with no successor, do not mass-redirect everything to the homepage—search engines treat irrelevant homepage redirects as soft 404s. Return a clear 404 or 410 status as documented in Google’s HTTP status codes guide.

Working on something similar in your own product? A few honest sentences are enough – we read every enquiry and reply by email. Apply with your idea

Legacy shop migration failure modes

Migration stageCommon mistakeSafe alternative
URL inventoryExporting only active catalogue SKUsMerge active catalogue, Search Console pages, and bot logs
Redirect rulesWildcard redirects to homepage or multi-hop chainsDirect one-hop 301 mapping to exact category or product
CanonicalisationLeaving staging domain canonicals or wrong protocolSelf-referencing HTTPS canonicals verified per template
Launch dayLeaving staging noindex or robots disallow activePre-flight check on robots.txt, meta robots, and status codes

Canonicalisation and internal links

Redirects alone are not enough if internal navigation and canonical tags disagree. Verify that all internal menu links, breadcrumbs, and XML sitemaps point directly to the final destination URLs rather than relying on 301 redirects. Review Google’s canonicalisation rules and canonical URL fundamentals so pagination, sorting parameters, and trailing slashes resolve consistently. Also audit structured data such as Product and BreadcrumbList markup on the new templates, because missing prices, availability, or identifiers during a redesign can temporarily remove rich results even when rankings stay intact.

Staged rollout and post-launch checks

Treat the launch as a controlled cutover rather than a fire-and-forget deployment (see general site migration planning):

  1. Test the redirect table before DNS cutover: Run an automated script against your staging host with host-header overrides to confirm every priority legacy URL returns a single 301 to a 200 destination.
  2. Check indexing blockers at minute zero: Confirm staging noindex headers and basic-auth gates are removed on production.
  3. Watch live server logs for 404 spikes: During the first 48 hours, inspect 404 logs continuously and patch any missed legacy URL patterns immediately.

Keep the old URL redirect rules active for at least a year after migration, and never delete historical redirect tables during later redesigns. External links and bookmarks continue sending crawlers to old paths long after launch.

Long-term retention

Common questions

Why should server logs be analysed before building a migration redirect map?
XML sitemaps rarely list every URL that still receives organic clicks or backlinks; server access logs reveal which legacy category, product, and parameter URLs Googlebot actually crawls.
Should discontinued products redirect to the homepage during a migration?
No. Redirecting discontinued items to the homepage creates soft 404 signals; redirect to the closest active product or parent category, or return a clean 404 or 410 status when no substitute exists.
What is the safest way to verify SEO health right after launch?
Crawl the live redirect map immediately to confirm single-hop 301 responses, verify self-referencing canonicals and robots rules, and monitor 4xx/5xx spikes in server logs and Search Console.

Sources

  1. Site Moves with URL Changes, Google Search Central. Accessed 24 November 2026
  2. HTTP Status Codes and Network Errors, Google Search Central. Accessed 24 November 2026
  3. Consolidate Duplicate URLs, Google Search Central. Accessed 24 November 2026

Further reading

Have an idea that should exist? Or a working product that needs more customers, a new website or a complete rework? Bring us anything. Apply with your idea

All notes