How to Migrate to Shopify Without Losing SEO Rankings
Migrating to Shopify can tank your organic traffic if you don't handle redirects, URL structure, and metadata correctly. Here's exactly how to protect your rankings.

Mark Cijo
Founder, GOSH Digital

How to Migrate to Shopify Without Losing SEO Rankings
I've watched brands lose 40-60% of their organic traffic overnight because they migrated to Shopify without a proper SEO plan. It's one of the most preventable disasters in eCommerce, and it happens constantly.
The good news: if you do this right, you can migrate to Shopify and maintain — sometimes even improve — your rankings. We've done this for multiple brands and come out the other side with traffic either flat or up.
The bad news: there are about 30 things that can go wrong, and most agencies only think about 5 of them.
Here's the complete playbook.
Why Migrations Kill SEO (When They Go Wrong)
Google has indexed your current site. It knows your URLs, your page titles, your content, your internal link structure, your domain authority signals. When you migrate to a new platform, all of that can break.
The three biggest killers:
1. URL changes without redirects. Your old site has /products/blue-running-shoes. Shopify creates /products/blue-running-shoes-1 or /collections/shoes/blue-running-shoes. Google follows the old URL, hits a 404, and removes the page from the index. Multiply that across hundreds of product and collection pages.
2. Metadata gets wiped. Your old product pages had carefully written title tags and meta descriptions with target keywords. Shopify auto-generates new ones using the product name and the first few words of the description. All that optimization? Gone.
3. Internal link structure changes. Your old site had a logical hierarchy with internal links passing authority between pages. Shopify's default structure is different. Those internal links break, link equity stops flowing, and pages that used to rank well lose their authority signals.
The Pre-Migration Checklist (Do This Before You Touch Anything)
Step 1: Crawl Your Existing Site
Before you migrate, you need a complete picture of what you're working with.
Use Screaming Frog, Sitebulb, or Ahrefs Site Audit to crawl your entire current site. Export:
- Every URL on the site (products, collections, pages, blog posts)
- Page titles and meta descriptions for every URL
- H1 tags for every page
- Internal links (which pages link to which)
- Canonical tags on each page
- 301 redirects already in place
- Pages with the most organic traffic (from Google Search Console or analytics)
- Pages with the most backlinks (from Ahrefs or Semrush)
This becomes your migration map. Every single URL needs to be accounted for.
Step 2: Identify Your High-Value Pages
Not all pages are equal. Focus your energy on pages that actually drive traffic and have backlinks.
Pull data from Google Search Console:
- Pages with the most impressions
- Pages with the most clicks
- Pages ranking for valuable keywords (positions 1-20)
Pull data from Ahrefs or Semrush:
- Pages with the most referring domains (backlinks)
- Pages with the highest Domain Rating backlinks
These are your VIP pages. They get priority in URL mapping, redirect setup, and metadata migration.
Step 3: Map Every Old URL to a New Shopify URL
This is the most tedious part, and the most important.
Create a spreadsheet with columns:
- Old URL
- New Shopify URL
- Page title (old)
- Page title (new)
- Meta description (old)
- Meta description (new)
- Priority (high/medium/low based on traffic and backlinks)
For every old URL, you need to know exactly where it will live on Shopify. If the URL structure is changing, that row needs a 301 redirect.
Common URL changes when moving to Shopify:
| Old Platform | Old URL | Shopify URL |
|---|---|---|
| WooCommerce | /product/blue-shoes/ | /products/blue-shoes |
| Magento | /catalog/product/view/id/123 | /products/blue-shoes |
| BigCommerce | /blue-shoes/ | /products/blue-shoes |
| Custom | /shop/footwear/blue-shoes.html | /products/blue-shoes |
| Blog | /blog/2026/01/post-title/ | /blogs/journal/post-title |
| Category | /category/running-shoes/ | /collections/running-shoes |
Notice that Shopify forces /products/ and /collections/ prefixes. If your old site didn't use these, every URL changes.
Step 4: Plan Your Redirect Strategy
Every old URL that no longer exists in the same form needs a 301 redirect.
Types of redirects you'll need:
- Product URLs: Old product URL redirects to new
/products/slugURL - Category/Collection URLs: Old category URLs redirect to new
/collections/slugURLs - Blog post URLs: Old blog URLs redirect to new
/blogs/[blog-name]/slugURLs - Pagination: Old paginated URLs (
/page/2/) need to redirect or be handled - Parameter URLs: Old URLs with query parameters (
?sort=price) — usually let these 404
Shopify has a built-in redirect tool (Online Store - Navigation - URL Redirects) but it's manual and slow for large catalogs. For stores with hundreds or thousands of products, use a bulk redirect app or handle it through the Shopify CSV import.
Critical rule: never redirect everything to the homepage. Each old page should redirect to its closest equivalent on Shopify. A product page redirects to the same product on Shopify. A category page redirects to the equivalent collection. If a page no longer exists, redirect it to the most relevant parent page.
Step 5: Preserve Your Metadata
Before you flip the switch, make sure every page on the new Shopify site has:
- Title tag: Matches your old optimized title (or improved version)
- Meta description: Matches your old optimized description (or improved version)
- H1 tag: One H1 per page, matches the primary keyword target
- Image alt text: All product and blog images have descriptive alt text
Shopify lets you edit SEO metadata for every product, collection, page, and blog post. Do this before launch, not after.
For product pages, Shopify defaults to using the product title as the page title and the first ~160 characters of the product description as the meta description. These defaults are almost never good enough. Write custom ones.
During Migration: The Launch Day Checklist
Set Up Redirects Before Going Live
All 301 redirects should be in place before you point your domain to Shopify. Not after. Before.
If there's a gap between when the new site goes live and when redirects are active, Google will crawl your site, find 404s, and start deindexing pages. Even a few hours of 404s can cause damage that takes weeks to recover from.
Verify Your Sitemap
Shopify auto-generates a sitemap at yourdomain.com/sitemap.xml. After launching, verify that:
- All important pages are included
- No old URLs are in the sitemap
- No duplicate pages are listed
- The sitemap is accessible (not blocked by robots.txt)
Submit the new sitemap to Google Search Console immediately after launch.
Check Robots.txt
Shopify generates its own robots.txt. Make sure it's not blocking important pages. By default, Shopify blocks /admin, /cart, /checkouts, and some internal paths — that's fine. But verify it's not blocking collection pages, product pages, or blog posts.
Verify Canonical Tags
Every page should have a self-referencing canonical tag. Shopify handles this automatically for most pages, but check your product variant pages. If you have products with multiple variants (size, color), Shopify can create multiple URLs. Make sure canonical tags point to the main product URL.
Keep the Old Platform Running (Temporarily)
If possible, keep your old site accessible on a staging URL for 30 days after migration. This gives you a reference point for URL mapping, metadata, and content verification. It also lets you catch any pages you missed in your redirect plan.
Post-Migration: The First 30 Days
Week 1: Monitor Everything
Google Search Console:
- Check for new crawl errors daily
- Look for spikes in 404 errors
- Monitor indexation — are new pages being indexed?
- Check for coverage issues
Analytics:
- Compare daily organic traffic to pre-migration baseline
- Look for specific pages that lost traffic
- Check bounce rates on key landing pages (if they spiked, something broke)
Manual checks:
- Google your top 10 keywords and verify your pages still appear
- Click through from Google to make sure the landing page is correct
- Test 20-30 redirects manually to confirm they work
Week 2: Fix What's Broken
You will find issues. Every migration has them. The question is how fast you find and fix them.
Common week-2 problems:
- Redirect chains (old URL redirects to another redirect, which redirects to the final page — consolidate to a single redirect)
- Missing redirects for URLs you didn't map
- Metadata that didn't transfer correctly
- Images that lost alt text
- Internal links pointing to old URLs instead of new ones
Weeks 3-4: Resubmit and Rebuild
- Resubmit sitemap to Google Search Console
- Request indexing for any important pages that aren't yet indexed
- Update any external links you control (social media profiles, directory listings, partner sites)
- Reach out to sites linking to your old URLs to update their links (especially high-authority backlinks)
- Publish new content on the blog to signal freshness to Google
Shopify-Specific SEO Issues to Watch For
The Collection + Product URL Problem
Shopify can create two URLs for every product:
/products/blue-shoes/collections/running-shoes/products/blue-shoes
Both show the same content. This is a duplicate content issue. Shopify handles this with canonical tags (the canonical points to /products/blue-shoes), but verify this is working. Some themes break canonical tags.
Pagination
Shopify collections with lots of products generate paginated pages (?page=2, ?page=3). Make sure these are crawlable and not blocked. Shopify handles rel="next" and rel="prev" on some themes but not all.
Speed
Shopify's hosted infrastructure is generally fast, but theme choice matters enormously. A bloated theme with 20 apps injecting JavaScript can tank your page speed. And page speed is a ranking factor.
After migration, run Lighthouse or PageSpeed Insights on your top pages. Target 90+ on mobile. If you're below 70, you have a problem.
Structured Data
If your old site had product structured data (schema markup for products with price, availability, reviews), make sure your Shopify theme includes equivalent markup. Many Shopify themes include basic product schema, but not all of them include review schema or breadcrumb schema.
The Timeline (How Long This Takes)
For a store with 100-500 products:
- Pre-migration prep: 2-3 weeks (crawling, mapping, metadata prep)
- Migration execution: 1-2 days (redirects, DNS, verification)
- Post-migration monitoring: 4-6 weeks (daily for week 1, then weekly)
- Full SEO recovery: 4-12 weeks (depending on how clean the migration was)
For a store with 1,000+ products:
- Pre-migration prep: 4-6 weeks
- Migration execution: 1-3 days
- Post-migration monitoring: 8-12 weeks
- Full SEO recovery: 8-16 weeks
What To Expect (Realistically)
Even with a perfect migration, expect a temporary dip in organic traffic. Google needs time to process all the URL changes, even with 301 redirects.
A well-executed migration typically sees:
- Week 1-2: 10-20% traffic dip (Google is recrawling)
- Week 3-4: Recovery begins, traffic stabilizes
- Week 5-8: Traffic returns to pre-migration levels
- Week 9-12: Traffic may exceed pre-migration levels (if Shopify's technical SEO is better than the old platform)
A poorly executed migration:
- Week 1-2: 40-60% traffic drop
- Week 3-8: Slow, painful recovery (if you fix things quickly)
- Month 3-6: May still be below pre-migration levels
- Some pages never recover if redirects were missing or done incorrectly
Get Help If the Stakes Are High
If organic search drives significant revenue for your business, don't wing this. The cost of getting it wrong — months of lost traffic and revenue — far exceeds the cost of doing it right.
We've handled Shopify migrations for brands where organic traffic was 40%+ of total revenue. The playbook above is exactly what we follow. Every URL mapped, every redirect tested, every meta tag preserved.
If you're planning a migration and want expert support, book a call. We'll assess the scope, tell you what's involved, and make sure your rankings survive the transition.

Written by Mark Cijo
Founder of GOSH Digital. Klaviyo Gold Partner. Helping eCommerce brands grow revenue through data-driven marketing.
Book a free strategy call →