• Shopify migration SEO: how to keep your rankings when you replatform

Most eCommerce businesses that lose search traffic after moving to Shopify do so because the impact of moving from an established URL structure to a completely new one defined by Shopify’s requirements was either overlooked, or underestimated.

Your existing rankings are tied to specific URLs, content and internal links that search engines have spent years learning to trust. When a site moves platform, especially if the new platform is Shopify, almost all of those URLs change. If search engines can’t follow every important page to its new home, the rankings attached to it start to slip, and so does the revenue that came with them.

We’ve already explained our complete process for migrating from WooCommerce, Magento or BigCommerce to Shopify. This article goes deeper into the SEO side: what makes Shopify different, how to map and redirect your URLs, and how to check everything is working once you’ve launched.

Why Shopify migrations need their own SEO plan

Shopify decides how your URLs are structured, and it’s a fundamental part of using the platform that can’t be changed. Every product sits under /products/, every category page (a “collection” in Shopify) under /collections/, every content page under /pages/ and every blog post under /blogs/ followed by the blog’s name.

On WooCommerce, Magento or BigCommerce, you or your developers will often have customised URLs over the years. That means you usually can’t keep your existing URLs, however much you’d like to, unless you were lucky enough to have aligned them to Shopify’s rigid structure. This means a Shopify migration almost always involves a full redirect project.

Shopify’s redirects also behave differently from those on a self-hosted platform. You can’t edit server rules, and a redirect only works if nothing exists at the old address on your new store. That’s not a problem if you plan for it, but it does mean the work has to be done properly before launch rather than patched afterwards.

Step 1: Crawl and benchmark your existing site

Before anything moves, you need a complete list of every URL that matters on your current site, and a record of how it’s performing. Without that baseline, you won’t know what to redirect or whether the migration has worked.

Pull your URLs from several sources, because no single one will catch them all:

  • A full crawl of the live site, using a tool such as Screaming Frog or Sitebulb
  • Your XML sitemaps
  • Google Search Console, for every page that has received impressions or clicks in the last 12 months
  • Google Analytics, for pages that bring in organic traffic and revenue
  • Your backlink data, so pages with links from other websites aren’t missed, even if they no longer get much traffic

Alongside the URL list, record each important page’s rankings, organic sessions, revenue and conversion rate. Save a snapshot of your top-performing pages’ titles, meta descriptions and headings, too. If something drops after launch, this is what you’ll compare it against.

Step 2: Map every old URL to its new Shopify URL

Your URL map is a spreadsheet that pairs every old URL with its new Shopify equivalent. It’s the most important document in the whole migration, and it should be signed off before your new store goes live.

Each platform has its own default URL patterns, so the shape of the map depends on where you’re moving from:

Page type WooCommerce (default) Magento (default) BigCommerce (default) Shopify
Product /product/product-name/ /product-name.html /product-name/ /products/product-name
Category /product-category/category-name/ /category/subcategory.html /category-name/ /collections/category-name
Content page /page-name/ /page-name /pages/page-name/ /pages/page-name
Blog post /post-name/ (varies) Depends on the blog extension /blog/post-name/ /blogs/news/post-name

Many stores have customised these patterns over the years, so always work from your crawl rather than the defaults.

A few principles make the map far more effective:

  • Keep the same slugs where you can. Shopify calls the last part of a URL a “handle”. Matching handles to your old slugs makes the map simpler, and keeps the keywords in your URLs.
  • Redirect like for like. Each old page should go to the closest equivalent on the new store. A discontinued product should point to its replacement or its category, not the home page.
  • Use the migration to tidy up. If you have several thin category pages that overlap, you can consolidate them into one stronger collection and redirect them all to it.
  • Flatten nested categories carefully. Shopify collections don’t sit inside each other in the URL, so /womens/dresses/maxi.html needs a single collection handle such as /collections/womens-maxi-dresses.

Our Ultimate Guide to Shopify Website Development explains how collections and navigation work on Shopify if you’re planning a new site structure.

Step 3: Build and import your redirects

Once your URL map is signed off, it becomes your redirect list. Shopify lets you import redirects in bulk from a CSV file with two columns, the old path and the new path, so you don’t have to add them one at a time. All of them are permanent (301) redirects, which tell search engines to pass the old page’s value to the new one.

There are a few Shopify-specific points to watch out for:

  • A redirect only fires if the old URL doesn’t exist on your new store. If a live page is sitting at the same address, Shopify shows the page and ignores the redirect. Check for clashes, especially with content pages that keep a similar URL.
  • Point every redirect at its final destination. Chains (A to B to C) waste crawl effort and lose a little value at each step. If your old site already had redirects in place, update them so they point straight to the new Shopify URL.
  • Don’t forget the URLs nobody thinks about. Old blog posts, PDFs, image URLs that appear in image search and pages that only exist because of old campaigns can all carry links and traffic.
  • Changing a handle after launch? Shopify can create a redirect for you automatically when you edit a product or collection handle, but make sure that option stays ticked.

Test your redirects on your store’s myshopify.com address before you switch the domain over. A crawl of your old URL list against the new store will show any that return a 404 or land on the wrong page.

Step 4: Bring your content, metadata and structured data with you

Redirects tell search engines where a page has gone, but the new page still has to deserve its rankings. If it arrives with thinner content, missing metadata or no reviews, it can lose ground even with a perfect redirect.

Check that these move across for every important page:

  • Page titles and meta descriptions. Shopify has its own search engine listing fields for products, collections, pages and blog posts. Migration tools don’t always fill them, and if they’re empty, Shopify falls back on the product name and the start of the description.
  • Category copy. Magento and WooCommerce category pages often carry introductory text that helps them rank. Make sure your Shopify theme has a place to show collection descriptions, and that the text comes across.
  • Product attributes. Custom fields from Magento attributes or WooCommerce plugins usually become Shopify metafields. Map them before the migration so specifications, materials and sizing still appear on the page.
  • Product reviews add unique content and power star ratings in search results. Move them into your Shopify review app with their original dates.
  • Image alt text and headings. Check that your theme uses one H1 per page and that alt text has survived the import.

Your Shopify theme should output structured data for products, prices, stock and breadcrumbs. Apps sometimes add their own as well, which can create duplicates, so run your key templates through Google’s Rich Results Test before launch.

Step 5: Control duplicate URLs and crawling

Shopify creates more than one URL for the same content, and so does almost every eCommerce platform. The aim is to make sure search engines always know which version is the main one.

The biggest example on Shopify is products inside collections. A product at /products/linen-shirt can also be reached at /collections/shirts/products/linen-shirt. Shopify adds a canonical tag pointing to the /products/ version, but many themes still link to the collection version from category pages. Asking your developer to link straight to the /products/ URL means search engines spend less time crawling duplicates.

Filtered and sorted collection pages are the other common issue. If your old Magento store had layered navigation pages that ranked, such as a colour or size filter with real search demand, consider creating a dedicated Shopify collection for them rather than relying on filter URLs.

Shopify also lets you edit your robots.txt file through a theme template called robots.txt.liquid. Shopify’s default rules already block the most common duplicate paths, so only change them if you have a specific crawling problem to fix. A mistake here can stop search engines from crawling your whole store.

Step 6: Plan international URLs and hreflang

If you sell in more than one country or language, every version of every page needs its own place in the URL map. Multi-store setups on Magento store views and multilingual plugins on WooCommerce often use quite different URL patterns from Shopify.

On Shopify, international selling runs through Shopify Markets. Each market can use its own subfolder (such as /fr/ or /en-us/) or its own domain, and Shopify adds hreflang tags automatically to tell search engines which version to show in each country.

The things to plan in advance are which URL format you’ll use for each market, how translated URLs and handles will look, and where each old language page will redirect. Getting this wrong can lead to the wrong version of a page ranking in a country, or to translated pages competing with each other.

Launch day and the first 90 days

Going live isn’t the end of the SEO work. The first few months after launch are when you’ll catch the problems that testing missed.

On launch day:

  1. Make sure your store’s password page is switched off, so search engines can see the site.
  2. Crawl your full list of old URLs against the live store and fix any that don’t redirect correctly.
  3. Submit Shopify’s sitemap (yourdomain.com/sitemap.xml) in Google Search Console and remove the old platform’s sitemaps.
  4. If your domain is changing as well as your platform, use Search Console’s Change of Address tool.
  5. Update your Google Merchant Center feed, Google Business Profile and any other listings that link to old URLs.

Over the following weeks, update the internal links inside product descriptions, blog posts and menus so they point straight to the new URLs, rather than relying on redirects. If you have links from important websites, it’s worth asking those sites to update them too.

Check Search Console’s page indexing report every week for new 404 errors, and redirect any that matter. Compare your rankings and organic traffic against the benchmark you took in Step 1. It’s normal to see some movement for a few weeks while search engines process the change, but pages that haven’t recovered within a couple of months need a closer look. Our eCommerce SEO team can help if you’re not sure where the problem lies.

Shopify migration SEO checklist

Before launch

  • Crawl the old site and combine the results with Search Console, Analytics and backlink data
  • Benchmark rankings, organic traffic and revenue for your key pages
  • Map every important old URL to its new Shopify URL
  • Import redirects in bulk and check none clash with live pages
  • Move page titles, meta descriptions, category copy, attributes and reviews
  • Check structured data on product, collection and blog templates
  • Plan market URLs and redirects if you sell internationally
  • Test every redirect on the myshopify.com address

On launch day

  • Remove the password page
  • Crawl the old URL list against the live store
  • Submit the Shopify sitemap and remove the old ones
  • Update Merchant Center and other listings

For the first 90 days

  • Update internal links to the new URLs
  • Monitor Search Console for 404 errors every week
  • Compare performance against your benchmark
  • Investigate pages that haven’t recovered after a couple of months

Migrating to Shopify is easier with expert help

A Shopify migration doesn’t have to cost you your rankings, but without investing time into planning ahead, it might. If you do plan ahead, however, you can move to a powerful eCommerce platform while keeping all the progress you’ve already made, which has got to be the objective of any business.

Getting it right involves detailed work, and it sits alongside everything else a migration involves. If you’d like to see how it fits into the wider project, you can read our complete Shopify migration process.

If you’d like professional help with your move to Shopify, our eCommerce migration team has been moving stores between platforms for more than 25 years. As official Shopify Partners, we can plan your migration with SEO built in from the start, so get in touch to talk about your move to Shopify.

Related News & Blogs