Skip to content

🚀 Join the team! We’re looking for a new Digital Marketing Manager. View the Role.

How to Migrate from Shopify to Magento Without Losing SEO

Why the fear of losing SEO is the largest concern regarding migrations

Over the last 10 years, we have scoped many platform migration projects. The most frequently asked, before consideration of cost, timeline, features, etc. are we going to lose our SEO? This is a valid concern. Most ecommerce businesses depend on organic traffic for the majority of their revenue. Losing 20-30% of revenue due to an improper migration could put a business at risk.

This concern can be mitigated. There are known causes for loss of SEO due to migration, and there are known ways to address these issues. There are no mysteries to migration-related SEO losses, and Google search traffic visibility can be preserved with proper planning for SEO during the planning, building, and launching of an SEO-focused migration. A post-launch miracle won’t happen for migrations that place SEO as a secondary, after launch priority. 25-40% of search traffic is frequently the result.

As for the broader picture for businesses migrating from Shopify, please refer to the Outgrown Shopify? page, and for the detailed process regarding migrations from legacy platforms, refer to How to Migrate from Legacy B2B Platforms to Magento. This document aims to address solely the SEO components that apply to all of these.

What actually causes SEO loss during migration

Prior to discussing potential solutions, it is valuable to specify the failure modes. Migration-driven traffic losses may occur due to one or several of the ensuing reasons.

1 | URL structure changes without proper redirects
Each Shopify URL is mapped to a Magento URL, but they have a different default structure. For example, Shopify uses /products/product-handle and/collections/collection-handle while Magento uses /product-url-key.html and /category-url-path.html. In the absence of 301 redirects, all backlinks, bookmarks, and indexed pages will lead to 404 error pages. This results in a loss of url equity, and is the largest contributor to post-migration SEO damage.
2 | Lost or broken redirect chains
If Shopify was running URL redirects due to earlier URL changes, deprecated products, or marketing campaigns, those redirects must be migrated. For example, a redirect chain A → B → C on Shopify must be A → C on Magento and not A → 404.
3 | Metadata not migrated
All changes to title tags, meta descriptions, canonical URLs, structured data, alt text, and Open Graph tags must be migrated from Shopify to Magento. The default metadata from the new store is usually poorly optimised in comparison to what exists in Shopify.
4 | Structured data and schema markup not replicated
If a migration leads to a loss of structured data, there is a direct impact on click-through rate due to the loss of rich snippet visibility. This includes product, breadcrumb, organisation, and FAQ schema.
5 | Internal link structure changing
Changes to internal linking patterns as a result of migrations can impact site authority and rankings. Such changes include a different navigation hierarchy, variations in category-to-product linking, and cross-linking patterns.
6 | Site speed regression
Moving to Magento with Luma as a front end may worsen Core Web Vitals, and these are now a direct ranking factor. Moving to Magento with Hyvä almost always improves Core Web Vitals, which benefits us to build new Magento stores on Hyvä by default. See What Is Hyvä and Why It’s Changing Magento Performance for the full picture.
7 | Indexation issues at launch
Sitemaps are not recreated, robots.txt are blocking important paths, canonical URLs are incorrectly pointing to something else, Search Console verification is missing on the new platform.
8 | Crawl budget waste
A poorly done migration that leaves a lot of redirects, soft 404s, or indexable thin content may waste Google’s crawl budget on the site, and so important pages will be crawled and evaluated less often.

Discipline makes each of these preventable. Discipline is the main topic of this article.

The SEO-preservation toolkit

An organized Shopify-to-Magento migration employs the following toolkit, utilized methodically throughout the entire project.

URL audit and mapping
A complete URL inventory

The starting point is a comprehensive list targeting all the existing URLs present in the Shopify store:

  • Product URLs
  • Collection / category URLs
  • CMS / content page URLs
  • Blog post URLs
  • Tag and filter URLs (if indexed)
  • Customer account URLs ( indexed rarely but still mapped)
  • Certain pages (search results, errors, legal)

Mapping to Magento destinations

Every current URL is associated with its new destination on the Magento store. The mapping is typically one-to-one for the products, and for the categories, one-to-one mapping is also typical. However, for tag pages and filtered pages, the mapping may need to be consolidated or restructured. The mapping document is the most relevant artifact of the SEO-protection workstream.

A standard Shopify store has an indexable URL count that ranges from 200 to 5,000. The mapping is an actual job, but it is what protects the asset. The job that is skipped creates the most significant single source of migration SEO damage.

301 redirect strategy
How the redirects are configured

The URL mapping turns into 301 redirect configurations set up at cutover time. In other words:

  • All old URLs get a permanent 301 redirect to their new counterpart.
  • Redirect chains are avoided, meaning old URL new URL redirects without any middle steps.
  • Redirects, whenever possible, are set up through Magento’s more than capable redirect engine instead of outside server level rules.
  • Old Shopify-format URL parameters are treated correctly (UTM parameters are kept, internal Shopify parameters are removed).
  • The redirect map has been documented so that other agencies or team members in the future can trace the reason behind certain redirects.

Volume

Magento can easily manage the volume of typical Shopify-to-Magento migrations as it deploys between 500 to 5000 redirects at the time of launch.

Sitemap regeneration and submission
On launch

Magento generates XML sitemaps natively. On launch:

  • A new sitemap has been created that reflects the new structure of URLs.
  • The sitemap has been sent to Google Search Console for the new domain or platform.
  • The expired old Shopify sitemap will let the redirects take over the routing work.
  • The Search Console tracks the submission of sitemaps to check the progress of the indexation.

Why it matters

The purpose of the sitemap isn’t to show Google where the pages are because Google will understand them through the redirects. The purpose of the sitemap is to speed up the re-indexing process so Google catches up to the new structure more quickly.

Metadata migration
Preserving what's in place

As a part of the data migration scripts, title tags, meta descriptions, canonical URLs, and other page-level metadata migrate from Shopify to Magento. This is mechanical work — retaining what is already done instead of having to rewrite things at the time of migration. Rewriting metadata is a separate project, and doing it during migration adds too many variables.

What the scripts also preserve

  • Product alt text and image titles
  • Open Graph tags
  • Twitter Card metadata
  • Canonical product URLs with several natural variants

Structured data replication
Replicated, usually improved

The Magento build usually improves on what the Shopify store has for structured data (e.g., product schema, breadcrumb schema, organisation schema, FAQ schema, review schema, business schema) because default Magento allows for more granular structured data than Shopify.

As part of the post-launch verification step, we check the structured data on Google’s Rich Results Test to ensure all data is rendered properly.

For B2B operations

For B2B operations, structured data also encompasses:

  • Pricing schema with relevant conditional logic (logged in vs logged out).
  • Stock availability schema
  • Multi-variant product schema

Internal link mapping
Preserve or improve the pattern

The internal linking architecture of the new Magento store has to maintain the existing pattern and/or improve upon it. In particular:

  • The category-to-product linking should be at least as thorough as what is currently on the site.
  • Cross-linking between related products preserved.
  • Navigation structure that does not push important pages further from the homepage.
  • Utility links and footers with links to the same SEO pages.

For bigger websites, this means conducting an internal linking audit while in the build phase instead of considering it as an emergent property of the theme.

Content, image and Search Console preparation
Content migration

All content, including CMS pages, blog content, FAQ pages, and support content, migrates from Shopify to Magento, with redirects mapped to corresponding URLs. If the new platform structure provides improved content organisation (typically Magento’s CMS has superior capability compared to Shopify’s) then such improvement is out of scope for the migration and is a separate project. Migration is about preserving data, optimisation is done afterwards.

Image and asset preservation

Products, content images, alt text, and file names will all be the same. Because image URLs will change with the platform move, the migration will include:

  • Accessing image-level 301 redirects (some of which are indexed in Google Images)
  • Preservation of alt text and image file names for accessibility and SEO purposes.
  • New image formats (WebP, AVIF) will be used for the new platform and will be delivered better than Shopify’s older image delivery.

Search Console preparation

Before launch:

  • Google Search Console’s verified properties are both Shopify and Magento.
  • Bing Webmaster Tools verification done on both.
  • If there is a change to the domain itself, address change requests will be made.
  • The existing export from Search Console has been taken for making a benchmark and for reference purposes.

Post-launch:

  • In the first month, the new property is checked every day, then weekly in the second and third month.
  • The sitemap submission is confirmed.
  • The report on coverage is monitored for any problems related to indexing.

The migration process for SEO preservation

There are six phases to an SEO-preserving migration from Shopify to Magento.

Phase 1 | Discovery and audit (weeks 1–3)
Crawling with Screaming Frog or another similar tool, complete the URL audit for the Shopify store. Current data from Google Search Console must be collected. Backlink profiles must be documented using either Ahrefs, Semrush, or similar tools. The result is a baseline document that captures what is currently available.
Phase 2 | Mapping (weeks 2–4, overlapping with phase 1)
A URL mapping document must be created. A review and extraction of the metadata must be carried out. An inventory of structured data must be created. An internal linking audit must be carried out. A stakeholder sign-off is required.
Phase 3 | Build with SEO in mind (weeks 4–14)
A Magento store has been created using Hyvä with i ntegrated URL structures and fully mapped metadata fields which were populated via migration scripts. Structured data has been implemented at the template level and redirects have been configured but are not active.
Phase 4 | Pre-launch SEO checks (weeks 14–16)
A complete crawl of the staging environment is required. Make comparisons using the baseline data. All redirects must be tested. The validation of the structured data must be confirmed. The correct generation of the sitemap must be confirmed. All gaps must be documented.
Phase 5 | Launch with monitoring (week 16)
Cutover during low traffic periods. Active redirects. Submitted sitemap. The first 72 hours after cutover will require close monitoring of Google Search Console. All issues must be addressed and resolved immediately.
Phase 6 | Post-launch monitoring (weeks 17–28)
Every week Google Search Console will be analyzed. The rankings for all priority keywords will be recorded. The backlink profile will be analyzed for any failures caused by redirects. Performance metrics will be validated. Google Search Console will be adjusted according to the recrawling and reevaluating algorithm.

Estimated total project time is about six months for the SME B2B operation. SEO preservation work is integrated into all phases instead of being isolated to a particular one.

What to expect post-launch

Once launched, a well-implemented migration will generate a distinct pattern in the following weeks.

Days 1–3
Google will start to pick up the redirects. There may be ranking fluctuations in the short term as the index updates. Coverage issues in Search Console may display temporarily and resolve within hours.
Week 1–2
Most transitions in indexation are completed. Reports on coverage stabilize. Rankings tend to settle into a new baseline within a few positions of pre-migration.
Month 1–2
Google’s quality algorithms will re-evaluate the new pages. Ranking improvements may be seen by some pages (with faster performance and better structured data); others may experience temporary decreases as Google is still adjusting.
Month 3–6
Full settlement is reached. Over this period, stores that had better Core Web Vitals post-migration typically see improvements in organic traffic. Stores that wrecked things will see further degradation that will require diagnosing.

especially in the second week, interpreting normal fluctuations as a total loss can be a temptation. The discipline in this case is to look only at weekly trends, rather than daily fluctuations, and to respond only to those patterns that extend longer than two or three weeks.

Common SEO migration mistakes

In order of decreasing negative impact, the problematic patterns we observe are the following:

  • * URL mapping done by sampling. Mapping 80% of URLs and assuming the rest will redirect by pattern usually loses traffic from the 20% who will not be redirected.
  • * Redirects set up at the platform level instead of Magento level. Server-level redirects work but are much more difficult to manage as time goes on.
  • * Migration metadata left unchanged has the potential to degrade existing optimization. Adding “creative” work to the migration adds more variables and usually leads to further degradation of existing optimization.
  • * Ignoring structured data as a concern, treating it as a phase two issue. When rich snippets are lost, immediate CTR losses occur.
  • * Launch planned to hit a certain date instead of during a low traffic period. During peak trading times, any SEO issue will magnify the impact.
  • * Failure to prepare the Search Console before launch. Finding verification or coverage issues during launch week will be much more costly than fixing these issues before.
  • * Not protecting backlink-bearing pages. Backlinks pointing to deprecated URLs require that specific attention be given to them in the redirect map.

In Planning an ERP Integration Without Disrupting Sales, we unpack the broader planning discipline that enables these problems to be avoided. This set of principles also applies to platform migrations.

FAQ

Common questions about Shopify-to-Magento migration SEO
When done well, there should be almost no loss in the medium term. In the first 2-3 week short term, expect fluctuations while Google re-indexes. If done poorly, expect a loss of 30-40% of organic traffic. Good migrations usually improve after 3-6 months.
Regarding backlinks, they point to URLs, not platforms. If 301 redirects are done properly, the equity should transfer without any trouble. The biggest loss of authority comes from backlinks pointing to a URL that return a 404 after the site moves.
Regarding short term fluctuations, in the first 2-3 weeks, there will be fluctuations, especially for longer tail keywords. Most major head-term rankings will drop less than 5 positions. If losses are sustained after 3 weeks, there is a problem.
We usually recommend keeping the structure the same. URL changes are the biggest source of SEO risk during a migration, and separating the migration from URL changes is much safer.
No. SEO fixes are a separate project that comes after the migration, as the migration will keep everything as is. Combining the two adds too many variables and makes it difficult to determine what caused specific results.
About the same, with some differences. Magento has more detailed options for structured data, canonical URLs, hreflang, and other technical SEO features. Shopify has more straightforward and simpler settings. For most B2B SME scale stores, the flexibility in Magento is a moderate SEO advantage after migrating.
With Hyvä, yes. Hyvä provides significantly better Core Web Vitals than Luma or most Shopify implementations, and Core Web Vitals are a proven ranking factor. We discussed this in How Site Speed Impacts SEO & Conversion Rates in Magento.
Magento does this better and more natively than Shopify Markets, even at true complexity. The migration takes from hreflang tags, regional URLs, and currency-specific canonical tags.
We can — and do — but it’s easier with an internal SEO person. The mapping document is better with an internal lead, especially if they know the most commercially important pages, and the post-launch monitoring is more valuable with someone internal.
You can see initial signs from 2 to 3 weeks after the migration. By month 2, you should see significant evidence, and for a full analysis it may take 4 months. If this pattern is sustained beyond 3 weeks, it is worth taking action.
A note on what's actually at stake

With regards to most ecommerce businesses, what the organic traffic asset has built up over years of content, optimisation and link-building is greater than what the migration project costs. It isn’t nice to have, it is the migration. Everything else (catalogue translation, customer migration, integration rebuild, theme work) aims for the same thing: a new platform that improves customer service and retains the commercial asset the old platform has built. It is the SEO discipline that makes that outcome a hope instead of a default.

Do you want an SEO migration plan for your store in writing?
The best outcome for this conversation is analyzing your unique Shopify setup, current SEO status, and migration scope to create a documented SEO migration plan to include in the project scope. Schedule a free consultation with Mark Hambley and the Verve team to discuss your Shopify-to-Magento migration. We will analyze your store, assess your organic visibility, and consider SEO preservation strategies for your specific migration. No obligation to continue, Contact us or check out our Outgrown Shopify? service for more info.

Related reading