How to Protect SEO Rankings When Migrating to Shopify
Share
The new store looks great. Checkout is faster, the team loves the admin, and launch day went smoothly. Then, two weeks later, someone notices organic traffic is down and nobody's quite sure why.
It's one of the most common stories in ecommerce replatforming, and it's almost always preventable. Search engines spent years learning where your pages live. When those addresses change without a clear map, Google loses track of them, and so do your customers.
This guide walks through how to protect your rankings when moving to Shopify, step by step. It goes deeper than the SEO section of our [Shopify migration checklist](BLOG #3 URL), so you can hand it straight to whoever owns SEO on your project.
The Short Answer
To protect SEO when migrating to Shopify, capture your current rankings and URLs first, map every old URL to its new Shopify URL, and set up 301 redirects before launch. Carry over your titles, meta descriptions, and best content unchanged, then submit your new sitemap and watch Google Search Console closely for the first few weeks.
Why Rankings Drop After a Migration
Shopify itself isn't bad for SEO. Rankings usually drop because something that search engines relied on quietly changed. The usual causes:
-
Missing redirects. Old URLs return "page not found" errors, so Google drops them and any links pointing to them lose their value.
-
Redirects to the wrong place. Sending every old page to the homepage tells Google the specific content is gone.
-
Lost content. Category descriptions, buying guides, or detailed product copy that ranked well don't get carried over.
-
Changed titles and meta descriptions. New templates overwrite carefully written page titles with defaults.
-
Broken internal links. Menus, footer links, and links inside blog posts still point to old addresses.
-
Structural changes. Products move into different collections, or pages are merged and split, without anyone checking what ranked where.
-
Technical slip-ups. The store launches still password-protected, or important pages are accidentally blocked from search engines.
Every one of these is avoidable with planning. Some short-term movement in rankings after a migration is normal while Google processes the changes. A lasting drop usually points to one of the problems above.
Step 1: Capture Your SEO Baseline Before Anything Changes
You can't protect what you haven't measured. Before any design or development work starts, take a full snapshot of how your current site performs.
Collect every URL. Pull URLs from several sources, because no single one is complete:
-
Your current XML sitemap
-
A full crawl of the live site with an SEO crawler
-
Pages with clicks or impressions in Google Search Console
-
Landing pages from your analytics tool
-
Pages with backlinks, from your backlink tool
-
URLs used in email campaigns, ads, and printed materials
Record performance for each important page:
-
Organic clicks and impressions
-
Revenue or conversions from organic traffic
-
Main keywords the page ranks for
-
Number of backlinks pointing to it
Save your on-page SEO:
-
Page titles and meta descriptions
-
H1 headings
-
Category and collection descriptions
-
Image alt text
-
Any structured data your site uses (product, review, breadcrumb)
Keep this export somewhere safe. After launch, it's your reference point for spotting what slipped, and your proof that the migration went well.
Step 2: Understand Shopify's URL Structure
This is the part that surprises most teams. Shopify uses a fixed structure for its main page types, and you can't fully customize it. That means your URLs will almost certainly change, even if your product names stay the same.
|
Page type |
Shopify URL pattern |
Example |
|
Product |
/products/handle |
/products/leather-hiking-boot |
|
Collection |
/collections/handle |
/collections/hiking-boots |
|
Page |
/pages/handle |
/pages/shipping-policy |
|
Blog post |
/blogs/blog-name/handle |
/blogs/news/how-to-choose-boots |
You control the handle, which is the last part of the URL. You don't control the prefix (/products/, /collections/, and so on).
Shopify's own migration guide gives a simple example: a shipping policy page at /policies/shipping-policy on an old site might become /pages/shipping-policy on Shopify.
Practical Tips for Handles
-
Keep handles the same as your old URL slugs where possible. If your old product URL was /hiking-boots/leather-hiking-boot, use leather-hiking-boot as the Shopify handle. The redirect becomes simple and the keyword stays.
-
Don't let imports create messy handles. Bulk imports can add numbers or odd characters. Check them before launch.
-
Decide on nested categories early. If your old site used deep category paths, plan how they'll map to flat Shopify collections.
Step 3: Build Your Redirect Map
A redirect map is a simple spreadsheet with two columns: the old URL and the new Shopify URL it should send visitors (and Google) to. It's the single most important SEO task in any migration.
How to Build It
-
Start with the full URL list from your baseline.
-
For each old URL, find the closest matching new page. Product to product, category to collection, article to article.
-
Prioritize by value. Pages with the most traffic, revenue, and backlinks get checked by a person, not just matched by a script.
-
Decide what happens to pages you're removing (see below).
-
Avoid chains. If an old URL already redirected somewhere on your old site, point it straight to the final Shopify URL.
Where to Send Pages You're Removing
-
Discontinued product: the closest relevant collection or a replacement product
-
Merged categories: the new combined collection
-
Outdated content: the most relevant current page on the same topic
-
Truly irrelevant pages: it's fine to let these return a "not found" error rather than forcing an unrelated redirect
Avoid redirecting everything to the homepage. It's quick, but it throws away the relevance each page had built up.
How Shopify Redirects Work
Shopify has a built-in redirect tool under Content > Menus > View URL Redirects in your admin. A few rules worth knowing:
-
Redirects only work from broken URLs. Shopify's help documentation says a redirect only works if the old URL shows a "page not found" error. If a live page exists at that address, the redirect won't fire.
-
You can import redirects in bulk with a CSV file, using the sample template Shopify provides. This is how most migrations handle hundreds or thousands of redirects.
-
Redirects start working immediately after they're saved.
-
Changing a product handle later usually gives you the option to create a redirect from the old address automatically. Keep it ticked.
One practical tip: import your redirects before launch, then test them on launch day once your domain points to Shopify.
Step 4: Carry Over Your On-Page SEO and Content
Redirects tell Google where a page moved. The content on the new page tells Google whether it's still the same page. Both matter.
Titles and Meta Descriptions
Shopify lets you set a custom page title and meta description for every product, collection, page, and blog post. If you leave them blank, Shopify falls back to defaults based on the product name and description. Import your existing titles and descriptions rather than letting defaults take over.
Content That Ranks
-
Collection descriptions that ranked on the old site are added to the matching Shopify collections
-
Detailed product descriptions are carried over in full
-
Blog posts and buying guides are moved with their text, images, and headings intact
-
Each page keeps one clear H1 heading
A common mistake is letting a new theme push collection descriptions below the products, or hide them entirely. Check how your theme displays them.
Images
-
Alt text is imported with every product and content image
-
Image file names are descriptive where possible
Structured Data
Structured data (also called schema markup) helps search engines understand products, prices, reviews, and breadcrumbs. Many Shopify themes include product structured data, but quality varies. Check that your product pages output price, availability, and review data correctly, especially if reviews come from an app.
Hold Off on Big Rewrites
It's tempting to refresh all your copy during a migration. Resist it for your top pages. If you change the URL, the template, and the content at the same time, you won't know which change caused a drop. Migrate first, measure, then improve.
Step 5: Fix Internal Links, Sitemaps, and Technical Settings
Internal Links
Redirects catch old links, but each redirect is an extra hop. Update links you control so they point straight to the new URLs:
-
Main menu and footer navigation
-
Links inside product descriptions, collection descriptions, and blog posts
-
Links in email templates and automated flows
-
Links in your social profiles and marketplace listings
Sitemap
Shopify automatically creates a sitemap.xml file that lists your products, collections, pages, and blog posts, and keeps it updated as you add content. You don't need to build one. You will need to submit it to Google Search Console after launch.
Robots.txt
Shopify generates a sensible default robots.txt file. If your old site had custom rules, review whether you still need them before recreating anything. Shopify lets developers customize the file through a robots.txt.liquid theme template, but changes should be made carefully.
Domain and HTTPS
If you're keeping your domain, the move is simpler. Shopify's guide recommends disconnecting the domain from your old platform before connecting it to Shopify, to avoid SSL certificate errors. Make sure there's one primary domain and that other versions (with or without "www") redirect to it.
If you're also changing your domain name, that's a bigger SEO change. Plan redirects from the old domain to the new one and use the Change of Address tool in Google Search Console.
International Stores
If you sell in several countries or languages, map how your old regional URLs will work under Shopify Markets, and check that language and region tags are set up correctly after launch.
Step 6: Launch Day SEO Checks
Once your domain points to Shopify, run through this list before you celebrate.
-
The store password is removed. A password-protected store can't be indexed. Shopify notes that search engines can't access your sitemap while the store is in private mode.
-
Your top 50 to 100 old URLs redirect correctly. Paste them into a browser or a redirect checker and confirm each lands on the right page in one step.
-
Key pages load with the right titles and meta descriptions. Check your best-performing product, collection, and content pages.
-
No important pages are blocked. Check that robots.txt and any "noindex" settings aren't hiding pages that should rank.
-
The sitemap is submitted in Google Search Console.
-
Analytics and Search Console are connected to the new store, so you don't lose data from day one.
-
A quick crawl of the new site shows no large number of broken links or redirect chains.
If something's wrong, launch day is the cheapest time to fix it.
Step 7: Monitor and Recover in the Weeks After Launch
Shopify's guide notes that Google can take anywhere from a few days to a few weeks to index a newly launched site, and there's no guaranteed timeline. Use that window to watch closely.
What to Check Each Week
-
Google Search Console page indexing report. Look for new "not found" errors and add redirects for any old URLs you missed.
-
Performance report. Compare clicks and impressions on your top pages against your baseline.
-
Top keywords. Check whether the pages that ranked before are still ranking for the same terms.
-
Organic revenue. Traffic is useful, but sales from organic search are what really matter.
How to Read What You See
-
A small dip across the whole site in the first few weeks is common while Google reprocesses everything. Keep watching.
-
A big drop on specific pages usually points to a missing redirect, lost content, or a changed title on those pages. Compare them against your baseline.
-
New "not found" errors in Search Console are a to-do list. Work through them starting with pages that had traffic or backlinks.
Keep the Redirects
Don't remove migration redirects once things settle. Old links on other websites, in emails, and in people's bookmarks will keep arriving for years.
Frequently Asked Questions
Will I lose my Google rankings if I move to Shopify?
Not if the migration is planned properly. Most ranking losses come from missing redirects, lost content, or changed page titles, all of which can be prevented. Some short-term movement is normal while Google processes the changes.
Does Shopify use 301 redirects?
Yes. Redirects created in Shopify's URL redirect tool are permanent (301) redirects, which is the right type for a migration.
Why isn't my Shopify redirect working?
The most common reason is that a live page still exists at the old address. Shopify only applies a redirect when the old URL would otherwise show a "page not found" error.
Can I keep my old URL structure on Shopify?
Not completely. Shopify uses fixed prefixes such as /products/ and /collections/. You can keep the last part of each URL (the handle) the same as your old slug, which makes redirects simpler.
Should I redirect old pages to my homepage?
Only as a last resort. Redirect each old page to the most relevant new page. Sending everything to the homepage loses the relevance each page had built up.
How long does it take for rankings to settle after a migration?
There's no fixed timeline. Shopify notes that indexing a new site can take from a few days to a few weeks. Watch Search Console closely and fix issues as they appear rather than waiting.
Moving to Shopify Without Losing Your Rankings
CodeVibez is a Shopify Plus Preferred Partner that has supported more than 1,000 Shopify stores. Our Shopify migration services include redirect mapping, content and metadata transfer, and launch-day checks, so the traffic you've earned comes with you.
We migrate stores from WooCommerce, Magento, BigCommerce, Salesforce Commerce Cloud, and other platforms.
Schedule a free call or contact our team to talk through your move.