Blog

How to migrate to Shopify without losing rankings

You can move to Shopify without losing your Google rankings if you protect three things: every old URL redirects to the right new page, the content and page titles that earned your rankings come across, and you don't launch at your busiest time.

Google says permanent (301) redirects don't cause a loss of link value, so rankings are rarely lost to the move itself. They're lost to broken URLs, thin rebuilt pages and rushed launches. This guide covers the five steps we follow when we move a store to Shopify.

Why rankings drop after a migration

Most losses come from five avoidable causes:

  • Broken or lazy redirects. Old URLs return a 404, or every old page is sent to the homepage instead of its matching page.
  • Changed URL structure. Shopify uses fixed prefixes (/products/, /collections/, /pages/, /blogs/), so moving from WooCommerce, Wix, Squarespace or Magento almost always changes your URLs.
  • Lost on-page SEO. Titles, meta descriptions, headings, body copy and image alt text get dropped in the import or rewritten during the redesign. Google notes that combining a move with a redesign of content and URL structure will probably cost some traffic while it reassesses pages.
  • Crawl blocks left on. A password page, noindex tag or robots.txt block from the build stage stays live after launch.
  • Bad timing. The store goes live during peak trading or while something else big is changing.

Step 1: Audit and baseline before you touch anything

Record where you stand now, so afterwards you can tell what changed and what to fix first.

  1. Crawl the current site with a crawler such as Screaming Frog. Export every URL with its status code, page title, meta description and H1.
  2. Export your top pages from Google Search Console (clicks and impressions over the last few months). These are the pages to protect first.
  3. Export organic landing pages and conversions from your analytics, so you know which pages actually earn money.
  4. Find pages with backlinks. Search Console's Links report shows which of your pages other sites link to. Redirect these with extra care.
  5. Note your rankings for your 10 to 20 most important search terms, including local ones such as "service + town" if you sell locally.
  6. Check how Search Console is verified and make sure that method will still work after the move. Verification can break when URLs change, and an HTML verification file has to be added to the new site.

Step 2: Map every old URL to a new one

The redirect map is the most important document in the whole migration. Google's own site move guidance starts with the same thing: prepare a mapping from your current URLs to their new equivalents.

  1. Build a spreadsheet with columns for old URL, new URL, page type and notes. Start from your crawl, then add URLs from Search Console and your old sitemap.
  2. Match each page to its closest equivalent. Product to product, category to collection, blog post to blog post. Avoid sending everything to the homepage.
  3. Keep the final part of each URL the same where you can. The prefix will change on Shopify, but keeping the handle (for example, /blue-widget) makes mapping simpler.
  4. Decide what happens to removed pages. If a close equivalent exists, redirect to it. If not, let the old URL return a 404 or 410 rather than redirecting to something irrelevant.
  5. Import the map into Shopify. In the Shopify admin, go to Content, then Menus, then URL redirects, and choose Import. Upload a CSV with two columns, redirect from and redirect to (Shopify provides a sample CSV to use as a template), review the preview, then confirm. If you sell in more than one market with subfolders such as /en-us/, those URLs need their own redirects.
  6. Test the awkward ones. If your old site used URLs with parameters (such as ?id=123) or has thousands of products, test those redirects specifically. Bulk redirect apps can help with pattern-based rules, but check what they cost and test their output.

Step 3: Build the new store and carry over on-page SEO

Build the new store privately and move across everything that earned your rankings before you start improving it.

  • Keep the build out of search results while you work, and write down every block (password page, noindex, robots.txt) so you can remove it at launch.
  • Carry over the basics for every page that ranks: page title, meta description, H1, body copy, image alt text and internal links. Check that your theme outputs product structured data and canonical tags correctly.
  • Migrate first, redesign later. Google advises making site changes one after another, not all at once. If you can, keep copy and URL handles as they are at launch and improve them in the weeks after, once you can see the new baseline. If you're weighing up a new theme as well, our guide to whether to upgrade or rebuild a Shopify theme helps with that decision.
  • Crawl the new store before launch and compare it with your old crawl to catch missing pages, titles and images.
  • Test the redirects, checkout and mobile speed. A slower mobile store can undo the benefit of a clean migration.
  • Local businesses: keep your business name, address and phone number consistent with your Google Business Profile, and plan to update the website link there at launch if your domain is changing.

Step 4: Launch day checklist

Work through this in order on the day you go live.

  • Take a final export or backup of the old site.
  • Remove every password page, noindex tag and robots.txt block from the build stage.
  • Point the domain at Shopify (or, if the domain is changing, set up the old-to-new redirects).
  • Import the redirect map and spot-check at least 20 old URLs, starting with your top pages by clicks.
  • Confirm HTTPS works and that only one version of the domain (with or without www) is used.
  • Submit your new sitemap in Search Console. Google says a sitemap speeds up discovery of moved URLs.
  • Domain name change only: use Search Console's Change of Address tool. It isn't needed for moves between http and https, www and non-www, or pages moved within the same domain.
  • Update your Google Business Profile, social profiles, email signatures and ad final URLs.
  • Check analytics and tracking are firing, then place a test order.

Step 5: Monitor after launch

Expect some movement while Google reprocesses your site, and use the first few weeks to catch problems early. Google treats a move URL by URL, and Googlebot needs to visit every old and new URL at least once, so there's no fixed timetable.

  • First week: re-crawl your list of old URLs to confirm each one redirects to the right page. Check Search Console for new 404s and indexing errors, and fix those on high-traffic pages first.
  • Weeks 2 to 4: watch the Sitemaps and Page indexing reports to see how many of your new URLs Google has indexed, and compare organic clicks for your top pages with your baseline from Step 1.
  • Keep your redirects in place. Google's site move guide says to keep them for as long as possible, generally at least a year. We keep them for as long as the store runs.
  • Then improve. Once things settle, update titles, copy and structure page by page, measuring as you go.

When to migrate, and when not to

Launch during a quiet spell, not your busiest one. Google's advice is to time a move for a period of lower traffic, and if your traffic is seasonal, to move during the recurring dips.

For most stores that means avoiding the weeks around Black Friday, Cyber Monday and Christmas (our Black Friday checklist covers what to get ready instead). It also helps to avoid launching while a Google core update is rolling out, because if rankings move you won't know whether the update or the migration caused it.

Don't stack other big changes on top either. A new domain, a full redesign and rewritten copy in one go makes any drop much harder to diagnose.

Common mistakes

  • Redirecting every old URL to the homepage.
  • Forgetting blog posts, images and PDFs that other sites link to.
  • Leaving a password page or noindex tag on after launch.
  • Rewriting every title and description at the same time as the move.
  • Cancelling the old hosting before checking the redirects work.
  • Forgetting to update the website link on your Google Business Profile.
  • Skipping a crawl of the old URL list after launch.

Frequently asked questions

Will I lose rankings temporarily?

Some movement is normal while Google recrawls your pages. Google warns that changing content and URL structure together will probably cost some traffic, so a careful, like-for-like migration keeps the dip small.

Do 301 redirects pass on link value?

Yes. Google says 301 and other permanent redirects don't cause a loss in PageRank.

How long should I keep redirects?

As long as possible. Google's site move guide says generally at least a year, and longer if old URLs still get traffic.

Do I need Google's Change of Address tool?

Only if your domain name is changing. It isn't needed when you're keeping the same domain.

Planning a move to Shopify?

Our Shopify migration service covers everything in this guide: the audit and baseline, the full redirect map, carrying over your on-page SEO, launch and the weeks of monitoring after it. We build the redirect map before you commit, so you know the risks up front.

Once you're on Shopify, you may also want to set up customer accounts and self-serve returns and check whether your store can appear on the Shop app.

If you want a view of where your current store stands first, a Shopify CRO & Speed Audit includes a rankings baseline along with conversion and speed checks. Retainer clients also get the GM CODE Growth Platform, which tracks your rankings week by week, so a post-launch drop gets spotted early.

Or tell us about your store and we'll come back with an estimate.