How to Migrate Your Store to Shopify Without Losing SEO
Most traffic drops after a Shopify migration come from missing redirects, not from Shopify. Here is how to map URLs, import data in the right order and launch with a checklist.
To migrate to Shopify without losing SEO, crawl and export every old URL, map each one to its new Shopify URL, and load the list as 301 redirects before you switch the domain. Import products first, then customers, then orders. Keep titles, descriptions and content, test everything on the new store, then submit a new sitemap in Google Search Console.
Photo: Unsplash
On this page
- How Shopify’s URL structure differs
- Step 1: Inventory everything before you touch anything
- Step 2: Build your redirect map
- Step 3: Import your data in the right order
- Step 4: Carry over the SEO content, not just the products
- Step 5: Load redirects and test before launch
- Step 6: Launch and watch the first 90 days
- Conclusion
- Sources
Moving your store to Shopify can fix a lot: slow hosting, plugin updates that break checkout, a platform that’s no longer supported. But store owners worry about one thing more than any other: losing the Google rankings it took years to build.
That fear is justified, but the risk is manageable. Most traffic drops after a migration come from a short list of mistakes: old URLs that lead nowhere, product descriptions that got shortened, and page titles that didn’t come across. Google’s own guidance says permanent redirects don’t cause a loss in PageRank. The work is in making sure every old URL has one.
This guide walks through the migration in the order that protects your SEO: inventory, URL mapping, data import, redirects, testing and launch.
How Shopify’s URL structure differs
Shopify uses fixed URL patterns. You can change the end of a URL, called the handle, but not the folder in front of it:
- Products:
/products/handle - Collections:
/collections/handle - Pages:
/pages/handle - Blog posts:
/blogs/blog-name/post-handle
If your old store used URLs like /shop/blue-mug or /blue-mug.html, every one of them will change. That’s normal and fine, as long as each old URL redirects to the right new one.
Key takeaway: A Shopify migration lives or dies on the redirect map. Every old URL that had traffic, links or rankings needs a 301 redirect to its closest matching new page, ready on the day you switch your domain.
Step 1: Inventory everything before you touch anything
Before you import a single product, record what you have today. Google’s site move guidance recommends building the list of old URLs from several sources:
- Your current XML sitemap.
- A site crawl with an SEO crawler tool, which finds pages the sitemap misses.
- Google Search Console, especially the Performance report, to see which URLs get clicks.
- Your analytics landing page report for the last 12 months.
- Backlink data showing which pages other sites link to.
Export everything into 1 spreadsheet. For each URL, also save the page title, meta description, H1 and word count. This is your “before” snapshot, and it lets you check that nothing was lost.
Take benchmarks too: organic sessions, top 50 keywords and their positions, and revenue from organic search. You’ll compare against these after launch.
Step 2: Build your redirect map
Add a column next to each old URL with its new Shopify URL. Follow these rules from Google’s guidance:
- Map 1 to 1 wherever possible. The old blue mug page goes to the new blue mug page.
- Avoid sending everything to the homepage. Google treats mass redirects to an irrelevant page poorly. Discontinued products should go to the closest category or a replacement product.
- Avoid redirect chains. Point old URLs straight to the final destination, not to another redirect.
- Include images, PDFs and old campaign URLs if they get traffic or links.
Keep the handles close to your old URLs where it makes sense. If your old product page was /blue-ceramic-mug.html, a handle of blue-ceramic-mug keeps the keyword and makes mapping easy.
For more on what makes these pages rank, see our guide to SEO for product and category pages.
Step 3: Import your data in the right order
Shopify recommends importing products first, then customers, then historical orders, so orders link to the right products and customers. You have several methods, from simplest to most technical:
| Method | Best for | What it handles | Watch out for |
|---|---|---|---|
| Manual copy and paste | Very small catalogs | Pages, a few products | Slow and error-prone at scale |
| CSV import | Products and customers | Products, variants, customers | Some data can’t move by CSV; orders need another method |
| Migration app | Most small and mid-sized stores | Products, customers, orders, blogs, gift cards, depending on app | Check exactly which fields and platforms each app supports |
| Shopify Partner | Large or complex stores | Everything, plus custom work | Higher cost; get a clear scope |
| Custom API scripts | Stores with developers | Anything the APIs support | Needs development time and testing |
Shopify’s help center lists migration guides for platforms including WooCommerce, Squarespace, Wix, GoDaddy, Square, Etsy, eBay and Amazon, and names its Store Migration app as 1 option.
A few things to know about customer data:
- Passwords don’t transfer. Shopify says customer passwords can’t be migrated, because they’re encrypted outside Shopify.
- Accounts may need re-activation. With legacy customer accounts, imported customers need an invite to create a new password. With Shopify’s new customer accounts, customers sign in with a 6-digit code sent to their email, so there’s no password to reset.
- Marketing consent should move with the customer. Import each customer’s email marketing status so you keep sending only to people who opted in.
Step 4: Carry over the SEO content, not just the products
Product data imports often lose the parts that rank. After import, check:
- Page titles and meta descriptions. Shopify lets you edit these for each product, collection, page and post in the search engine listing section.
- Full product descriptions, including any FAQ or specification sections.
- Image alt text and file names.
- Collection page copy. Category pages often rank for your most valuable terms. Recreate the intro text on each collection.
- Blog posts and author pages, with their dates.
- Structured data. Many Shopify themes output product structured data, but check that price, availability and reviews appear correctly.
Pick your theme early, because it controls layout, headings and speed. Our guide on choosing a Shopify theme covers what to check.
Step 5: Load redirects and test before launch
Shopify manages redirects under Content, then Menus, then URL redirects. You can create them one at a time or import a CSV, and standard stores can hold up to 100,000 redirects.
2 Shopify-specific rules trip people up:
- Redirects only fire on broken URLs. If a live page exists at the old path, Shopify ignores the redirect. Remove or rename the old page first.
- Some paths can’t be redirected, such as fixed prefixes like
/productsor/carton their own.
Before you switch the domain, run this pre-launch checklist:
- Every product, variant, price, weight and inventory count matches the old store.
- Collections contain the right products and have their intro copy.
- Shipping rates, taxes and payment methods work. Place test orders for a successful payment, a failed payment, a refund and a cancellation.
- Every page title and meta description is filled in.
- Redirect CSV is imported, with a sample of 50 old URLs tested by hand.
- Analytics, pixels and Search Console verification are installed.
- Email notifications and policies are updated with your brand.
See our technical SEO checklist for a deeper pre-launch review.
Step 6: Launch and watch the first 90 days
On launch day, connect your domain to Shopify. If you keep the same domain, the main job is making sure the redirects work. If the domain changes too, Google says to use the Change of Address tool in Search Console for the old site.
After launch:
- Submit your Shopify sitemap in Search Console. Shopify generates it automatically at
/sitemap.xml. - Crawl the old URL list and confirm each returns a 301 to the right page, not a 404.
- Check Search Console daily for 2 weeks for crawl errors and “not found” pages. Add redirects for anything you missed.
- Update internal links and key backlinks where you can, so they point straight to new URLs.
- Compare against your benchmarks at 30, 60 and 90 days.
Google warns that rankings may fluctuate while it recrawls the site, and that this can take weeks or more for medium-sized sites. It also says to keep redirects for at least 1 year, and longer is better. On Shopify, there’s rarely a reason to remove them.
For realistic expectations on recovery and growth, read how long SEO takes.
Conclusion
Migrating to Shopify doesn’t have to cost you rankings. Snapshot your old store, map every URL to its new home, import products before customers and orders, carry your SEO content across, and load your redirects before the domain switch. Then watch Search Console closely for the first few weeks and fix gaps fast. If you’re still comparing platforms, see Shopify vs WooCommerce and Shopify fees explained before you commit.
Sources
- Shopify Help Center: Migrating to Shopify — migration steps, import methods, import order and supported platforms
- Shopify Help Center: URL redirects — where to create redirects, CSV import, limits and broken-URL rule
- Shopify Help Center: Importing and exporting customers — customer passwords can’t be migrated
- Shopify Help Center: Customer accounts — new customer accounts use one-time email codes
- Google Search Central: Site moves with URL changes — 301 redirects, URL mapping, sitemaps, keeping redirects for at least 1 year
Frequently asked questions
Will I lose SEO if I move to Shopify?
You shouldn't lose rankings long term if you redirect every old URL correctly and keep your content. Google says permanent redirects don't cause a loss in PageRank, though rankings can fluctuate for a few weeks while Google recrawls the site. Most lasting drops come from missing redirects, shortened product descriptions or lost page titles, all of which you can prevent with a URL map and a pre-launch check.
How do I set up 301 redirects in Shopify?
In your Shopify admin, go to Content, then Menus, then View URL redirects. Create redirects one at a time by entering the old path and the new path, or import a CSV file with all of them at once using Shopify's template. Redirects only work on URLs that return a 404 on Shopify, so make sure no live page still exists at the old path.
Can I migrate customer passwords to Shopify?
No. Shopify says customer passwords can't be migrated because they're encrypted outside Shopify. With legacy customer accounts, imported customers need an invite to set a new password. With Shopify's new customer accounts, customers sign in using a one-time 6-digit code sent to their email, so passwords aren't needed at all.
How long does a Shopify migration take?
It depends on size and complexity. A small store with a simple catalog can often finish in a few weeks, including testing, while large stores with thousands of products, custom features or many integrations can take months. The time goes into data cleanup, redirect mapping, theme setup and testing, not the import itself. Plan your launch outside your busiest season so you have time to fix issues.
Can I keep my URLs the same when moving to Shopify?
Only partly. Shopify uses fixed prefixes such as /products/ and /collections/, so URLs from most other platforms will change. You can keep the final part, the handle, close to your old slug. Then redirect each old URL to the new one with a 301. That keeps rankings and backlinks working even though the full URL changes.
Do I need to change my domain to move to Shopify?
No. You can connect your existing domain to Shopify, which keeps your brand and backlinks pointing to the same site. You only need Google Search Console's Change of Address tool if the domain itself changes. Either way, set up redirects for old page URLs, and submit Shopify's sitemap in Search Console after launch.
Should I use a migration app or hire a Shopify Partner?
Use a migration app if your store is small or mid-sized and your data is fairly standard: products, customers, orders and blog posts. Hire a Shopify Partner if you have a large catalog, custom functionality, complex integrations or very valuable organic traffic. Either way, you still need your own URL inventory and redirect map, so you can check the work.
Was this guide useful
No reviews yet. Share your experience and help other readers.