Moving your store to Shopify without losing Google rankings

A step-by-step guide to moving an online store to Shopify, based on Shopify’s and Google’s own documentation.

4 min readSources checked

The short answer: list every URL your current store has, decide where each one will live on Shopify, move your products and customers, then add a permanent redirect from every old URL to its new one before you switch over. Most ranking losses after a move come from missing or wrong redirects.

This guide follows Google’s site move guide and Shopify’s help pages on migrating and URL redirects.

Why rankings drop after a move

Google ranks individual pages, and each page has an address. When you move to Shopify, most of those addresses change. On Shopify, product pages sit under /products/ and category pages under /collections/, so a product at /shop/blue-mug on your old store will usually end up at /products/blue-mug. If the old address does not redirect to the new one, Google sees a page that has disappeared, and the ranking it had goes with it.

Google says rankings can move up and down for a while during any move, and that for a medium-sized site it can take a few weeks or more before the new addresses are fully shown. Good redirects keep that period short.

Step 1: list every URL you have

Google recommends building the list from several sources, because each one misses something:

  • Your current sitemap.
  • The page list from your current platform: products, categories, pages and blog posts.
  • Your analytics, especially pages that get visits from search.
  • Your server logs, if you can get them.

Include images as well as pages. Then open Google Search Console and note the pages that bring the most clicks. Those are the ones to check first after launch.

Step 2: decide where each page will go

Put the old URLs in one column of a spreadsheet and the new Shopify URLs in the next. Each old page should point to the page on Shopify that replaces it: an old product to the same product, an old category to the matching collection.

Do not send large numbers of old pages to the homepage. Google says it may treat redirects to an unrelated page as a soft 404, which means the old page loses its value as if it had been deleted. If a page has no replacement, let it return a 404 or 410.

Step 3: move your products, customers and orders

Shopify’s migration guide points to its Store Migration app in the Shopify App Store, and has guides for moving from WooCommerce, Wix, Squarespace, GoDaddy, Etsy, eBay, Amazon, Square, Lightspeed and Clover. Magento is not on that list, so a Magento store usually needs a CSV export or a developer.

Shopify recommends importing in this order: products first, then customers, then historical orders. You can also move gift cards, store credit, blog posts and pages. Check a sample of each after importing, because Shopify notes that some data cannot be moved by CSV.

Step 4: add the redirects

Google recommends permanent redirects, such as 301 or 308, and says they do not lose PageRank. In Shopify you add them under Content, Menus, View URL Redirects. Redirects start working straight away.

  • Import them in bulk. Shopify accepts a CSV file of old and new URLs, with a template you can download.
  • Check the limit. Standard plans allow up to 100,000 redirects. Shopify Plus allows up to 20 million.
  • Redirect only from addresses with no page. Shopify only redirects URLs that are broken. If a live page exists at the old address, the redirect will not work.
  • Some paths cannot be redirected. Shopify does not allow redirects from /products, /collections or /collections/all, and from a few other system paths.
  • Point straight to the final page. Google can follow chains of redirects, but recommends sending each old URL directly to its final address.

Keep the redirects in place for as long as you can. Google says at least a year.

Step 5: launch and tell Google

  • Shopify creates a sitemap.xml for your store automatically. Submit it in Google Search Console.
  • Keep your old site verified in Search Console as well, so you can see how its pages are handled.
  • If you are also changing your domain name, use the Change of Address tool in Search Console. You do not need it if the domain stays the same.

Step 6: check the results

For the first few weeks, check Search Console every few days. Look at the pages that brought the most clicks before the move and confirm they now show the new address. Check for new 404 errors, and add any missing redirects as soon as you find them.

Checklist

StepDone when
List every URLYou have pages, products, categories, blog posts and images in one sheet
Map old to newEvery old URL has a new address or is marked as removed
Move the dataProducts, customers and orders are imported and spot-checked
Add redirectsThe CSV is imported and a sample of old URLs lands on the right page
LaunchThe new sitemap is submitted in Search Console
MonitorTop pages show their new addresses and no new 404s appear
Each step, and what to check before moving on.

Need help with your move?

We are a Shopify Partner and we move stores from WooCommerce and other platforms to Shopify, including the URL mapping and redirects. See our ecommerce web design and development service, or book a free consultation. The first consultation is free, and there are no charges for the first month.

Want this done properly?

The first consultation is free, and there are no charges for the first month.