Migrating from Magento to Shopify Without Losing Your SEO

Migrating from Magento to Shopify Without Losing Your SEO

Moving from Magento to Shopify can cut running costs and free your team from upgrade projects. It can also wipe out years of organic traffic if URLs, content and metadata are not handled carefully. This is the checklist our team uses on every Magento to Shopify migration.

1. Inventory what you have

  • Products: simple, configurable, bundle and grouped products, attributes and images.
  • Customers: accounts and addresses. Passwords cannot be migrated, so plan an account-activation email.
  • Orders: decide how much history you need in Shopify for customer service and reporting.
  • Content: CMS pages, blocks, blog posts and any custom landing pages.
  • SEO data: meta titles, descriptions, canonical rules and every indexed URL.

2. Map your data model

Magento configurable products become Shopify products with variants. Shopify supports up to three options per product natively, so products with more option dimensions need a different structure. Custom attributes usually become metafields, and structured content such as size guides or ingredient lists often works best as metaobjects.

3. Export every URL

Shopify uses fixed URL patterns — /products/, /collections/, /pages/ and /blogs/ — so almost every Magento URL will change. Start by exporting your current URL rewrites:

-- Magento 2: all system-generated URLs for store 1
SELECT request_path, target_path, entity_type, entity_id
FROM url_rewrite
WHERE store_id = 1
  AND redirect_type = 0
ORDER BY entity_type, request_path;

Combine this with a crawl of the live site and the top landing pages from Google Search Console, so you catch URLs that only exist through custom routes or old campaigns.

4. Build the redirect map

Map every old URL to the most relevant new one — product to product, category to collection, CMS page to page. Never redirect everything to the home page. Shopify imports redirects from a CSV with two columns:

Redirect from,Redirect to
/mens-running-shoes.html,/collections/mens-running-shoes
/trail-runner-pro.html,/products/trail-runner-pro
/about-us,/pages/about
/blog/how-to-choose-running-shoes,/blogs/news/how-to-choose-running-shoes

Turn on Redirect to new URL behaviour for products you rename during the project, and keep the redirect spreadsheet under version control so changes are traceable.

5. Carry over on-page SEO

  • Migrate meta titles and descriptions into Shopify’s SEO fields.
  • Keep product and category copy — rewriting everything at launch makes it harder to diagnose ranking changes.
  • Add structured data for products, reviews and breadcrumbs in the theme.
  • Recreate important internal links in navigation and content.

6. Launch-day checks

  1. Crawl the old URL list against the new domain and confirm every one returns a single 301 to a 200 page.
  2. Submit the new sitemap in Google Search Console and keep the old property verified.
  3. Check analytics, pixels and conversion tracking on the new checkout.
  4. Test payments, taxes and shipping rates for every market you sell in.
  5. Monitor 404s daily for the first month and add redirects as they appear.

What to expect

With a complete redirect map and preserved content, most stores see rankings settle within a few weeks. The stores that lose traffic are almost always the ones that skipped the URL inventory or changed everything at once.

Planning a move? Our team handles Shopify migrations end to end, and we know Magento’s internals well enough to make sure nothing important gets left behind.

Sources

Need a hand?

Stuck on a build?
Let's solve it together.

Our engineers fix, upgrade and scale Magento, WordPress and modern stacks every day.