How to migrate your online store without losing your Google rankings
The biggest fear in a migration is an organic-traffic crash. Here is exactly what to do — URL mapping, 301 redirects, structure — to keep your rankings.
The most common fear before a migration — rightly so — is that organic traffic collapses after relaunch. It happens often, but almost always from the same few avoidable mistakes. Here is the plan we apply so traffic stays intact (or grows) after cutover.
Why stores lose traffic during migration
In 9 out of 10 cases the cause isn't "Google dislikes the new site" but something very concrete:
- Changed URLs with no redirects — old indexed pages return 404 and their authority is lost.
- Chained or wrong redirects — 302 instead of 301, or A→B→C instead of A→C.
- Altered content structure — titles, H1, meta, category copy rewritten or dropped at relaunch.
- Accidentally blocking indexing —
robots.txtornoindexleft over from staging. - Performance regression — a new site slower on mobile than the old one.
Step 1: a full inventory of URLs and rankings
Before anything, snapshot the current situation. Extract all indexed URLs (from the sitemap, Google Search Console, a full crawl) and, for each, the traffic and rankings it brings. That tells you what must be protected — usually 20% of pages drive 80% of organic traffic.
Step 2: a 1:1 mapping of old URLs to new
Every old URL gets a clear destination in the new structure. Ideally you keep the exact same paths (slugs). When structure changes, build a mapping table: old URL → new URL, covering products, categories, content pages, indexable filters. Pages with no direct equivalent map to the closest relevant category, not the homepage (redirect to home = a "soft 404" signal).
Step 3: clean 301 redirects, in a single hop
All redirects must be 301 (permanent), not 302. Avoid chains: if old A already went to B, the new redirect should go straight to the final destination. A correct 301 transfers nearly all authority to the new page.
Step 4: preserve on-page content structure
Google re-evaluates every relaunched page. If you keep the H1, title, meta description, category copy and structured data (Product JSON-LD, Breadcrumb), the signals stay stable. Migration is not the time to rewrite all content — migrate "like for like" first, then optimize.
Step 5: performance at least as good
Core Web Vitals are a ranking factor. A headless stack (Next.js on Sylius/Symfony) starts with a big speed advantage, but verify before launch that mobile LCP, INP and CLS are at least on par with the old site. Test your store speed for free as a baseline.
Step 6: staging locked against indexing
Staging must be noindex + password-protected. And at launch, verify production robots.txt and meta robots allow indexing. The most painful migration incident is a Disallow: / forgotten from staging.
Step 7: new sitemap + monitoring in GSC
At cutover, submit the new sitemap to Google Search Console and watch daily for 2-4 weeks: indexed pages, crawl errors (unexpected 404s), coverage and rankings. A slight fluctuation in the first days is normal; a sustained drop means a redirect or block to fix immediately.
Conclusion
Migrating without SEO loss isn't luck — it's a disciplined process: inventory → mapping → 301 → preserve structure → performance → monitoring. That's exactly how we migrated electronic-mag.ro (351,000+ products) with no organic-traffic loss. See how we approach migration.
Want a migration with no traffic loss?
We build a migration plan with a rank-preserving SEO strategy. Request an assessment.
Request a migration plan