Migration guide
Shopify launch-day runbook after a migration
Launch day runs in this order: freeze the old store and import what changed, import your 301 redirects, check payments, checkout, taxes and email, then connect the domain (A record 23.227.38.65, www CNAME shops.myshopify.com), make it primary and remove the store password. Place a real order and refund it, submit sitemap.xml to Google and Bing, then check your top old URLs redirect in one hop. Each step below gives the exact Shopify setting, the value to pick and how to check it worked.
What you’ll need
A Shopify store to move into
How to get this: A Shopify store to move into
- Sign up at shopify.com. A free trial is enough to test your imports before you pay.
- Keep your old store open until everything is moved: product images are copied from it.
Access to your Shopify admin
How to get this: Access to your Shopify admin
- Sign in at admin.shopify.com with the account you use for your store.
- If you are staff rather than the owner, ask the owner for the permissions you need in Settings › Users.
Your domain’s DNS login (at the company you bought it from, or Cloudflare if your DNS is there)
How to get this: Your domain’s DNS login
Settings › Domains › Connect existing domain, then A 23.227.38.65 and CNAME www → shops.myshopify.com.
A paid Shopify plan (needed to remove the store password; choosing one in the trial costs nothing until it ends)
Your redirect CSV (from the Redirect Map Builder and the converters)
Convert your productsAll migration steps
The week before: check the imported data
- Products: spot-check variants, prices, compare-at prices, stock and images on a few products of each kind.
- Collections: open each one and check it holds the right products.
- Customers: check a few profiles and their email marketing status.
- Pages, blog posts and policies are in place, with working images and menus.
Product Migration ConverterCollections Bulk BuilderBefore you migrate
The day before
Lower your DNS TTL a day ahead (optional). At the company that hosts your domain’s DNS, set the TTL of the A record and the www CNAME to 300 seconds (5 minutes) at least 24 hours before you switch. Shopify says the default TTL works, so this is optional, but a short TTL makes the switch, and any fix, show up in minutes instead of hours.
Where: Your domain provider’s DNS settings (GoDaddy, Namecheap, Cloudflare, Squarespace Domains and so on)
Settings, details and how to check
- TTL on the A record and the www CNAME: 300 seconds, or the lowest your provider offers (how long browsers and networks may keep the old address)
- Take a screenshot of every DNS record before you change anything, especially MX and TXT records. They run your email and your domain verifications, and you need them exactly as they are after the switch.
- Do it at least one old TTL ahead: if the TTL was 1 hour, lower it more than 1 hour before the switch, ideally the day before.
- Put the TTL back to your provider’s default a few days after launch.
Check it worked: Your provider’s DNS page shows the new TTL on both records, and your screenshot of the old records is saved.
Freeze the old store. Pick a quiet launch window and tell your staff that, from the final export until launch, nobody edits products, prices or stock on the old platform. At the start of the window, stop new orders on the old store (its maintenance mode, or turn off checkout) so no order lands in a store you’re leaving.
Details and how to check
- Choose your quietest hours: check your old platform’s orders by hour of day, and avoid a sale or a newsletter send.
- Stop gift card sales on the old store too, so balances don’t change after you move them.
- Note the time you froze: the final import only needs what changed since your first full import.
Check it worked: A test order on the old store can’t be placed, and nobody on your team has changed a product since the freeze time.
Run the final import of what changed. Export again from the old platform, convert, and import only the products, customers and orders that are new or changed since your first full import. Shopify updates existing products when Overwrite products with matching handles is ticked, matching on the Handle column.
Where: Products › Import, and Customers › Import
Settings, details and how to check
- Overwrite products with matching handles: Ticked, for the final product import only (updates products already in Shopify instead of skipping them)
- Overwrite existing customers that have the same email or phone number: Ticked only to update customers already imported (otherwise customers who are already there are skipped)
- With overwrite on, a blank cell in a column you include clears that value in Shopify, and a column you leave out is kept. Remove columns you didn’t change before you import, and never import a file sorted in Excel or Numbers: image rows can lose their product.
- Changing an Option1, Option2 or Option3 value deletes that variant’s ID and makes a new one, which breaks apps that stored the old ID.
- Export a backup from Shopify first (Products › Export): a product import can’t be cancelled once it starts.
- Orders: rerun your migration app for the dates since the first run.
Check it worked: The product count in Shopify’s Products list equals the old store’s count of active products, and five products you changed after the first import show the new price and stock.
Import a CSV into ShopifyCustomer migration stepsOrder history steps
Pause new-order emails while orders import. If you’re importing past orders, turn off new-order emails for every staff recipient first, or each one gets an email per old order. Turn them back on as soon as the order import finishes.
Where: Settings › Notifications › Staff notifications
Settings, details and how to check
- … next to each recipient: Turn off, then Turn on after the import (stops one email per imported order)
Check it worked: After the import, each recipient shows as on again, and Send test notification arrives.
Import your 301 redirects. Build one redirect CSV for every old URL with the Redirect Map Builder (plus the files the product converter and the Blog & Page Migrator wrote), check it, and import it before you switch the domain. Shopify redirects work on every domain connected to your store, so they’re live the moment the domain points at Shopify.
Where: Content › Menus › URL redirects › Import
Settings, details and how to check
- CSV header: Redirect from,Redirect to (Shopify reads only these two columns)
- Redirect from is a path (/old-page), Redirect to is the new path (/products/new-handle). Keep .html when the old address had it.
- Shopify only redirects addresses that would otherwise show “Page not found”. A redirect from a path that still exists in Shopify (a product, collection or page with that handle) never fires.
- You can’t redirect paths starting with /apps, /cart, /orders, /services or /shop, or the fixed /products and /collections paths themselves.
- Limit: 100,000 redirects per store (20 million on Shopify Plus).
Check it worked: URL redirects shows the same number of redirects as rows in your CSV, and the builder’s check reports no duplicates and no targets that don’t exist.
Launch morning: payments, checkout and settings
Make sure Shopify Payments is active and payouts can reach you. Activate Shopify Payments (or your other payment provider), finish its verification, and add the bank account payouts go to. Turn on two-step authentication for the store owner: Shopify can hold payouts until it’s on.
Where: Settings › Payments
Settings, details and how to check
- Shopify Payments: Activate Shopify Payments, then Submit for verification (card payments at checkout)
- Bank account: Add bank account (Connect a bank account, or Enter account details manually) (where payouts are sent)
- Verification documents are uploaded only through the banners in your admin and can take up to 24 hours to review.
- Store currency (Settings › General › Store defaults) must be right before your first sale; changing it afterwards takes Shopify Support.
- No banner asking for documents or a bank account should be left on the Payments page.
Check it worked: Settings › Payments shows Shopify Payments as active with a bank account, and no setup or verification banner is waiting.
Turn test mode off. If you placed test orders with Shopify Payments’ test mode or Shopify’s Bogus Gateway, turn test mode off. Customers can’t place real orders while it’s on, and Shopify won’t let you launch with it on.
Where: Settings › Payments › Shopify Payments › Edit
Settings, details and how to check
- Use test mode: Unticked (real cards are charged again)
Check it worked: The Shopify Payments section no longer shows a test mode label, and a real card works in the test order step below.
Check your checkout and customer account settings. Set what checkout asks for and how customers sign in. These settings apply to every market you sell to.
Where: Settings › Checkout, and Settings › Customer accounts
Settings, details and how to check
- Customer contact method: Email (or Phone number or email if you text customers) (how customers identify themselves at checkout)
- Full name: Require first and last name (carriers need both)
- Company name: Optional if you sell to businesses, otherwise Don’t include (some shipping rates are business-only)
- Address line 2 (apartment, unit, etc.): Optional (Required or Don’t include stops some customers from checking out)
- Shipping address phone number: Optional, or Required if your carrier needs it (delivery problems)
- Marketing opt-in › Email: Shown at checkout; preselected only where the law allows (consent for newsletters)
- Show sign-in links (Settings › Customer accounts): On (customers can see their orders; they sign in with a one-time email code, so no passwords to move)
Check it worked: A checkout on your phone asks for exactly the fields you chose, and the account icon in your store header opens the sign-in page.
Double-check taxes and shipping zones. Compare tax collection and shipping rates with what customers paid on the old store, for your main country and one far-away destination.
Where: Settings › Taxes and duties, and Settings › Shipping and delivery
Settings, details and how to check
- Regions you collect tax in (Settings › Taxes and duties): Every region where you’re registered (Shopify only charges tax where you set it up)
- Tax in your prices: The same as on your old store: included in the price, or added at checkout (customers see the same totals)
- Shipping zones (Settings › Shipping and delivery › Shipping): Every country you ship to, with the rates you charged before (a missing country can’t check out)
- Heavy or oversized products belong in their own shipping profile, or they get your cheapest rate.
- Check with your accountant that the regions you collect in match your registrations.
Check it worked: A checkout to your home address and to one international address shows the same shipping and tax you charged on the old store.
Set markets, currency and languages. Your primary market is the country you sell to most. Add a market for each other country or region you sell to, and pick the currency and language shoppers there see.
Where: Settings › Markets, and Settings › General › Store defaults
Settings, details and how to check
- Store currency (Settings › General): The currency your prices and reports are in (hard to change after the first sale)
- Market currency (Settings › Markets › a market): Local currency, or your store currency (what shoppers in that country pay in)
- If your old store had country folders or domains (/en-ca/, example.de), set the same domains or subfolders in each market so those URLs keep working.
Check it worked: In the theme preview, View as › each country shows the right currency and language, and checkout charges in it.
Publish your legal policies. Add your return and refund, privacy, terms of service, shipping and contact information policies. Shopify links them in the checkout footer automatically.
Where: Settings › Policies › Written policies
Settings, details and how to check
- Use automated policy: On to keep a policy in step with your settings, or off to paste your own wording (automated policies update when your settings change)
- Turning automation on replaces that policy’s text with Shopify’s template: copy your old wording first.
- Link the policies in your footer menu (Content › Menus): /policies/refund-policy, /policies/privacy-policy, /policies/terms-of-service, /policies/shipping-policy.
- Old policy pages (for example /returns) need redirects to the new /policies/ addresses.
Check it worked: Each /policies/ address opens on your store, and the checkout footer lists every policy.
Set the sender email and authenticate your domain. Customers get order emails from your Sender email. To send from your own domain (orders@yourstore.com), add the DNS records Shopify lists and a DMARC record, or Gmail and Yahoo get your emails from store+123@shopifyemail.com instead.
Where: Settings › Notifications › Sender email
Settings, details and how to check
- Sender email: An address on your own domain, without “noreply” (the From address customers see and reply to)
- Email domain authentication: Authenticate automatically (Cloudflare, GoDaddy, IONOS) or Manual setup (adds the CNAME records for SPF and DKIM)
- DMARC TXT record at _dmarc: v=DMARC1; p=none; (only if you have no DMARC record yet) (Gmail and Yahoo require one)
Check it worked: Email domain authentication shows Authenticated, and your test order’s confirmation email arrives from your own address.
Switch the domain
Connect your domain to Shopify. In Shopify, click Connect existing domain and enter your domain without www. For a Cloudflare, GoDaddy or IONOS domain, choose Connect automatically and sign in; anywhere else, change the A, AAAA and www CNAME records at your DNS host to Shopify’s values, then click Connect domain.
Where: Settings › Domains › Connect existing domain
Settings, details and how to check
- A record, host @: 23.227.38.65 (points yourstore.com at Shopify; delete every other A record)
- AAAA record, host @: 2620:0127:f00f:5:: (or 2620:0127:f00f:0005:0000:0000:0000:0000 if your host wants it written out) (the same for IPv6; delete every other AAAA record)
- CNAME record, host www: shops.myshopify.com. (with the final dot if your host accepts it) (points www.yourstore.com at Shopify)
- Connect, don’t transfer, on launch day: your provider stays the registrar and it takes minutes. A transfer can take up to 20 days and is blocked for 60 days after a registration or transfer. You can transfer later.
- Domain bought through Squarespace, Wix or your old platform? It’s third-party to Shopify: open DNS settings there. If the old platform hosted the DNS for you, disconnect the domain from the old site first if it asks.
- Leave MX, TXT, SPF, DKIM and other CNAME records (mail, autodiscover, verification records) exactly as they are. They’re not part of the website and changing them stops your email.
- Cloudflare: set the A, AAAA and www records to DNS only (grey cloud). Shopify doesn’t support Cloudflare’s proxy in front of the store.
- Shopify may show an A record ending in another number, such as 23.227.38.32, as the best one for your region. That’s valid.
Check it worked: The domain appears on Settings › Domains, and whatsmydns.net shows 23.227.38.65 for the A record and shops.myshopify.com for www in most locations.
Wait for Connected and the SSL certificate. DNS changes usually show within two hours and can take up to 48 hours. Shopify issues a free SSL certificate once the records point at it; until then the domain shows SSL pending.
Where: Settings › Domains
Details and how to check
- Don’t keep changing records while you wait: each change restarts the clock.
- Still SSL pending or SSL unavailable after 48 hours: check for a second A or AAAA record, a CAA record that doesn’t allow letsencrypt.org, pki.goog and ssl.com, DNSSEC switched on at your registrar, or Cloudflare’s proxy.
- You can’t use your own SSL certificate on Shopify; the free one is the only option.
Check it worked: The domain shows Connected on Settings › Domains, and https://yourstore.com opens with a padlock and no security warning.
Make it the primary domain. Set your own domain as the primary domain. Every other domain on the store, including www (or the bare domain) and your-store.myshopify.com, then redirects to it automatically.
Where: Settings › Domains › your domain › Type › Change
Settings, details and how to check
- Change domain type: Primary domain (the address in the browser bar, in your sitemap and in emails)
- Older guides mention a “Redirect all traffic to this domain” checkbox. Shopify no longer has it: once a domain is primary, the other domains always redirect to it.
- Choose www.yourstore.com or yourstore.com, whichever your old site used, so the addresses Google knows don’t gain an extra redirect.
- A domain used by a market can’t be made primary until that market uses another domain or subfolder.
Check it worked: your-store.myshopify.com and the www (or non-www) version of your domain each land on the primary domain in one redirect.
Open the store and take a real order
Remove the store password. Shopify calls the password page private mode. Switch the store from Private to Public: until you do, customers and search engines see only the password page and Google can’t read your sitemap.
Where: Online Store › Private › Public › Launch store (or Online Store › Preferences › Store access)
Settings, details and how to check
- Private mode (Online Store › Preferences › Store access): Off (opens every page to visitors and search engines)
- Shopify only lets you launch on a paid plan (choosing one during the trial doesn’t charge you until it ends), with a store address under Settings › General › Business details, and with a payment method that isn’t in test mode.
- Older guides call this Online Store › Preferences › Password protection; it’s the same switch.
Check it worked: In a private browser window your domain opens the home page, not the password page, and the Online Store page shows Public.
Place a real, low-value order, then refund it. Buy your cheapest product with your own card, as a customer would, on your phone. Then cancel and refund it, so you see every email a customer gets and know that real money reaches Shopify.
Where: Your storefront, then Orders › the order › Refund
Settings, details and how to check
- Restock items: Ticked (puts the item back in stock)
- Send a notification to the customer: Ticked, to see the refund email (checks your refund email)
- Card processing fees aren’t returned when you refund, so keep the order small.
- Try a discount code and check that the shipping rate and tax look right.
- Afterwards archive the order (Orders › More actions › Archive) so it doesn’t clutter your list.
Check it worked: The order shows Paid and then Refunded, the order confirmation and refund emails both arrive from your sender email, and the payment appears in Finance › Payouts › View transactions.
Search engines and analytics
Add the store to Google Search Console and submit the sitemap. Add a Domain property for yourstore.com (it covers www, non-www, http and https) and verify it with the TXT record Google gives you, at your DNS host. Then submit sitemap.xml.
Where: Google Search Console › Add property › Domain; then Indexing › Sitemaps
Settings, details and how to check
- Property type: Domain (yourstore.com, no https:// and no www) (one property for every version of the domain)
- Add a new sitemap: sitemap.xml (Shopify builds and updates it for you)
- Already have a property for the old site on the same domain? Keep it: its history carries over, and you only submit the new sitemap.
- A URL-prefix property verified with the HTML tag in theme.liquid also works, but it covers only one version (for example https://www.).
- Remove the old platform’s sitemaps from the Sitemaps report if they no longer exist.
Check it worked: The Sitemaps report shows https://yourstore.com/sitemap.xml with status Success and a discovered page count close to your products, collections, pages and posts.
Verify your store in Search ConsoleSubmit your sitemap to Google
Add the store to Bing Webmaster Tools. Sign in to Bing Webmaster Tools and import the site from Google Search Console. Bing verifies it and brings your sitemaps across, and Bing’s index also feeds Copilot and other AI answers.
Where: bing.com/webmasters › Import from Google Search Console
Details and how to check
Check it worked: Your domain shows as verified in Bing Webmaster Tools, and Sitemaps lists https://yourstore.com/sitemap.xml.
Connect GA4 and your ad pixels the Shopify way. Install Shopify’s Google & YouTube app and connect your GA4 property (Google tag) through it. Add Meta, TikTok, Pinterest and other pixels through their Shopify apps, which appear under Customer events, rather than pasting code into the theme.
Where: Apps › Google & YouTube; Settings › Customer events
Settings, details and how to check
- Google tag (Google & YouTube app): Your existing GA4 property’s web data stream (keeps your history in one property)
- Customer events: One app pixel per service; custom pixels only where no app exists (pixels that also track checkout)
- In GA4, update the data stream’s website URL if the domain changed, and add your new domain to Admin › Data streams › Configure tag settings › Configure your domains if you track across domains.
- Check your privacy settings and cookie banner (Settings › Customer privacy) before you add pixels that need consent.
Check it worked: GA4’s Realtime report shows your visit, and a test purchase appears as one purchase event (not two) in GA4 within a day.
Remove old tracking code. Delete any tracking code copied from the old site into the theme (Google Tag Manager or gtag snippets in theme.liquid, old Facebook pixel code), so each visit and each sale is counted once.
Where: Online Store › Themes › … › Edit code › layout/theme.liquid
Details and how to check
- Search theme.liquid for gtag(, googletagmanager.com, fbq( and analytics.js. Keep only what an app you still use added.
- Turn off the old platform’s analytics plugins or integrations so they stop sending data from the old site to the same GA4 property.
Check it worked: Google Tag Assistant on your home page shows one Google tag for your GA4 property, with no duplicate or old tags.
After launch: checks that must pass
Test your top 20 to 50 old URLs: one 301 hop each. Take your most-visited old URLs from Search Console (Performance › Pages) or your analytics, and open each one. Each must reach its matching new page with a single 301 redirect.
Details and how to check
- How to see the hops: in Chrome open DevTools (F12) › Network, tick Preserve log, then paste the old URL. Or run curl -sIL https://yourstore.com/old-path in a terminal.
- Test the exact URLs Google shows (usually https://). A redirect to a page that redirects again, a 302, or a landing on the home page for everything are all failures to fix.
- A URL that still loads a page doesn’t redirect: Shopify only redirects addresses that would otherwise show “Page not found”.
Check it worked: Pass: the first response is 301 with a Location on your primary domain, and the next response is 200 on the right page. Anything else, fix the redirect.
Check that no page says noindex. Open your home page, a product, a collection and a blog post, view the page source (Ctrl+U) and search for noindex. A theme customization, an SEO app or a setting left over from development can add it by mistake.
Details and how to check
Check it worked: Pass: no <meta name="robots" content="noindex"> on any page you want in Google, and Search Console’s URL Inspection says Indexing allowed: Yes for the home page.
Check robots.txt. Open yourstore.com/robots.txt. Shopify’s default file is right for almost every store: it blocks the cart, checkout, account and filtered collection pages and allows the rest.
Details and how to check
- If your theme has a templates/robots.txt.liquid file (from an old customization), check every Disallow line in it.
- Paths you blocked on the old platform don’t carry over; add a rule only if you have a reason.
Check it worked: Pass: the file ends with Sitemap: https://yourstore.com/sitemap.xml on your primary domain, and there’s no Disallow: / under User-agent: *.
Check the sitemap is reachable. Open yourstore.com/sitemap.xml in a private window. It’s an index of Shopify’s product, collection, page and blog sitemaps.
Details and how to check
Check it worked: Pass: it loads as XML on your primary domain (not the password page), each linked sitemap opens, and your newest product appears in sitemap_products_1.xml.
Watch Search Console’s Pages report for two weeks. Open Indexing › Pages every day for the first week and twice in the second. Old URLs moving to “Page with redirect” is expected and good; new “Not found (404)” URLs are old addresses you missed.
Details and how to check
- Click Not found (404), export the list, add a redirect for every URL that had visits or links, and click Validate fix.
- Use URL Inspection › Request indexing on your 10 most important new pages (Google allows about 10 a day).
- Rankings often wobble for a few weeks after a move; a steady rise in 404s or a drop in indexed pages is what needs action.
Check it worked: Pass after two weeks: the Not found (404) count isn’t growing, your key products and collections show as Indexed, and the Sitemaps report still says Success.
Fixing “Not found (404)”Search Console Indexing Report Explainer
Keep the old platform for at least 30 days. Don’t cancel the old platform on launch day. Keep it reachable (on a temporary address, or in its admin) for at least 30 days, and keep every export file for good: you’ll need an image, an old order or a page you missed.
Details and how to check
- Keep paying for the domain itself: cancelling the old platform must not cancel a domain registered through it. Move or connect the domain first.
- Download anything that lives only there before you close it: media library files, order exports for your accountant, invoices, and reviews if your plan allows.
- Keep the old store’s checkout off during those 30 days so nobody can buy from it.
Check it worked: Pass: you can still sign in to the old admin, and your exports (products, customers, orders, content, redirects) are saved somewhere backed up.
More migration guides
Sources:
- Shopify: Connecting a third-party domain manually
- Shopify: Connecting a domain automatically
- Shopify: Secure connections (SSL)
- Shopify: Changing the primary domain
- Shopify: Restrict access to your online store (private mode)
- Shopify: Preparing your store for launch
- Shopify: Processing a test order
- Shopify: Editing the checkout form options
- Shopify: Setting up store and sender email addresses
- Shopify: Importing products with a CSV file
- Shopify: URL redirects
- Shopify: Finding and submitting a sitemap
- Shopify: Editing robots.txt.liquid
- Shopify: Pixels and customer events
- Bing: Add and verify a site