Skip to content
Free Store Audit

Migration & Replatforming · · 7 min

How to Keep Your SEO Rankings When Migrating to Shopify

How to protect your Google rankings when moving to Shopify, from benchmarking and URL mapping to 301 redirects, metadata and post-launch monitoring.

Shopify migration SEO is about making sure Google and your customers can still find every important page after you switch platforms. The essentials are: benchmark your current traffic, map every indexed URL to its new Shopify URL, set up 301 redirects, keep your content and metadata, rebuild structured data, and monitor Search Console closely after launch. Most ranking losses during migrations come from skipped redirects and removed content, not from Shopify itself.

Quick Summary: Executive Takeaways

  • Benchmark first: export rankings, traffic and top pages before you change anything.
  • Map every indexed URL to its closest Shopify equivalent; don’t redirect everything to the home page.
  • Use 301 redirects via Shopify’s URL Redirects (CSV import supported).
  • Keep content and metadata: titles, descriptions, headings, alt text and internal links.
  • Rebuild structured data for products, breadcrumbs and FAQs.
  • Monitor for several weeks: 404s, coverage, rankings and conversions.

Introduction: Why Migrations Put Rankings at Risk

A site migration, in SEO terms, is any change to a website’s platform, URLs, structure or domain that can affect how search engines crawl and rank it. Moving to Shopify usually changes URLs because Shopify uses fixed paths like /products/ and /collections/.

Google treats a moved page as new unless you tell it where the old one went. A 301 redirect is a permanent redirect that sends users and search engines from an old URL to a new one, and Google’s documentation on site moves with URL changes recommends mapping old URLs to new ones this way.

This guide is written by the Lazapi team, a Shopify development agency with locations in Kozhikode (Kerala), Bangalore and the UAE. The most damaging migration mistake we’ve seen is a store that rebuilt its catalogue with new, “cleaner” product handles and no redirect map. Every backlink and ranking pointed at pages that no longer existed.

Shopify Migration SEO: What Changes and What to Keep

During a migration, URLs usually change, but content, metadata and internal linking should stay as close to the original as possible. This table shows what to plan for.

Element What usually happens What to do
URLs Change to Shopify’s fixed prefixes 301 redirect every indexed URL
Page titles and meta descriptions Can be lost in import Import into Shopify SEO fields
Headings and body content Often trimmed during redesign Keep or improve, don’t remove
Image alt text Frequently dropped Import or re-add
Internal links Point to old URLs Update to new URLs
Structured data Theme-dependent Check Product, Breadcrumb, FAQ markup
XML sitemap New at /sitemap.xml Submit in Search Console
robots rules Shopify defaults Review robots.txt.liquid only if needed
Canonicals Set by theme Check product and collection pages

Shopify’s URL structure

Shopify uses fixed prefixes you can’t remove:

Content Shopify URL pattern
Product /products/handle
Collection /collections/handle
Page /pages/handle
Blog post /blogs/blog-name/handle

A handle is the editable, URL-friendly part of a Shopify address, such as blue-shirt in /products/blue-shirt. Keep handles close to your old slugs so the mapping is simple and readable.

Building a Redirect Map

A redirect map is a spreadsheet that pairs each old URL with its new URL. It’s the core deliverable of Shopify migration SEO.

Collect old URLs from:

  • Your old XML sitemap
  • Google Search Console (Pages report and Performance report)
  • Analytics landing pages
  • A crawler such as Screaming Frog
  • Backlink tools for pages with external links

In practice, the import file looks like this (Online Store → Navigation → URL Redirects → Import):

Redirect from,Redirect to
/shop/linen-shirt/,/products/linen-shirt
/category/shirts/,/collections/shirts
/2022/04/how-to-wash-linen/,/blogs/journal/how-to-wash-linen
/about-us/,/pages/about-us

Edge cases:

  • Discontinued products: redirect to the closest product or the parent collection, not the home page.
  • Redirect chains: if the old site already redirected A → B, point A straight to the Shopify URL.
  • Trailing slashes and case: test variants of important URLs after import.
  • Query strings: usually don’t need redirects unless they were indexed and get traffic.

Content, Metadata and Structured Data

Rankings depend on content as much as URLs. Keep what worked and carry it over carefully.

  • Titles and meta descriptions: map Yoast, Rank Math or Magento SEO fields into Shopify’s SEO fields.
  • Body content: move full descriptions, not shortened versions.
  • Collections: keep intro text on category pages that ranked.
  • Structured data: check that your theme outputs Product markup with price and availability, and add BreadcrumbList and FAQ where relevant. Test with Google’s Rich Results Test.

Measuring Success After Launch

You can only judge a migration if you benchmarked before it. A benchmark is a snapshot of traffic, rankings and conversions taken before launch to compare against afterwards.

Metric Where to find it What to watch
Organic clicks and impressions Search Console Performance Week-on-week trend for top pages
Indexed pages Search Console Pages report New “Not found (404)” or duplicate issues
Top landing pages Analytics Sessions and conversions vs benchmark
Redirect health Crawler using old URL list Every old URL returns a single 301 to a 200 page
Rankings for key queries Search Console or rank tracker Movement on money keywords
Revenue from organic Analytics Compare same period, adjusting for seasonality

In practice, we run the old URL list through a crawler on launch day and again a week later. Anything that returns a 404 or a chain of redirects gets fixed the same day.

Edge case: seasonality can hide or exaggerate changes. Compare with the same period last year, not just the weeks before launch, especially if you migrate near a sale period.

Step-by-Step Shopify Migration SEO Checklist

  1. Benchmark: export top pages, queries, traffic and conversions.
  2. Crawl the old site and list every indexable URL.
  3. Decide handles in Shopify that match old slugs where possible.
  4. Build the redirect map with the closest match for each URL.
  5. Migrate content and SEO fields and spot-check pages.
  6. Update internal links in content and menus to new URLs.
  7. Check structured data and canonicals on key templates.
  8. Test redirects on staging with a crawler or sample list.
  9. Launch: switch the domain and import redirects immediately.
  10. Submit the new sitemap in Search Console.
  11. Monitor daily for two weeks: 404s, coverage, top pages.
  12. Compare with the benchmark after a few weeks and fix gaps.

Communicating the move

SEO isn’t only about Google. Update links you control, such as social profiles, email templates, Google Business Profile and marketplace listings, so they point straight to the new URLs instead of relying on redirects. If important partner sites link to you, ask them to update those links too. Fewer redirect hops make for a faster, cleaner experience for users and crawlers.

Common Pitfalls and Mistakes to Avoid

  • Redirecting everything to the home page. Google may treat these as soft 404s.
  • Changing handles for “cleaner” URLs without redirects.
  • Dropping long descriptions during redesign.
  • Leaving the staging site indexable or the live site blocked.
  • Forgetting blog and image URLs.
  • Not monitoring after launch, so errors go unnoticed for weeks.

FAQ

Will migrating to Shopify hurt my SEO?

It doesn’t have to. Short-term fluctuations are common, but rankings are usually protected when every important URL is 301-redirected and content and metadata are preserved.

How do I set up 301 redirects in Shopify?

Go to Online Store, Navigation, URL Redirects. Add redirects one by one or import a CSV with “Redirect from” and “Redirect to” columns.

Can I keep my old URLs on Shopify?

Not exactly. Shopify requires prefixes like /products/ and /collections/, but you can keep the handle part the same, which makes redirects simple.

How long does it take for rankings to recover after a migration?

It varies. Google needs to recrawl and process redirects. Monitor Search Console and fix issues quickly; well-planned migrations often stabilise within weeks.

Should I change my product URLs during a Shopify migration?

Keep handles as close to your old slugs as you can. Changing them adds risk without much benefit; if you must change them, make sure every old URL has a 301 redirect to the new one.

Conclusion and Next Steps

Shopify migration SEO comes down to preparation: benchmark, map every URL, keep your content, and watch closely after launch. Skip any of those and rankings are at risk.

Next steps:

  1. Download our Shopify migration checklist.
  2. Read the WooCommerce to Shopify migration guide or Magento to Shopify migration.
  3. Want SEO protected for you? See our Shopify migration service.

Discuss your Shopify project

We use your details only to reply to this enquiry. Privacy Policy