How to Migrate WooCommerce to a New Site (or Platform) Without Losing SEO

A step-by-step store migration plan: URL inventory, redirect maps, data checks, launch-day tasks and the first 30 days of monitoring, so rankings and orders survive the move.

To migrate WooCommerce to a new site without losing SEO, you inventory every existing URL, move products, customers and orders, keep URLs identical where possible, 301-redirect every changed URL to its closest match, and monitor Search Console and 404s after launch. The redirect map is the step that decides whether rankings survive.

I have moved stores between hosts, between themes, between WooCommerce and other platforms, and from old custom code into WordPress. The technical parts differ, but the plan is always the same.

Why do stores lose SEO after a migration?

Stores lose SEO after a migration mainly because old URLs stop working. Product and category pages that had rankings and backlinks return 404 errors, internal links break, and content or titles change at the same time. Search engines then treat the pages as new. The platform itself is rarely the cause.

Other common causes:

  • The staging site’s “discourage search engines” setting carried over to production.
  • Canonical tags still pointing to the old domain or staging URL.
  • Product descriptions shortened or removed during data import.
  • Category structure flattened, so many URLs changed at once.

Phase 1: inventory everything

Before any change, build a complete list of current URLs. I combine several sources because no single one is complete:

  1. A full crawl of the live site with a crawler such as Screaming Frog.
  2. XML sitemaps of products, categories, pages and posts.
  3. Search Console pages report and top pages by clicks.
  4. Analytics landing pages for the last 12 months.
  5. Backlink tool export of pages with external links, if you have one.

Merge and deduplicate them into one spreadsheet. Add columns for clicks, links and page type. This becomes your redirect map.

Phase 2: decide the URL structure

If you are staying on WooCommerce (new host, new theme), keep the permalink settings identical and you avoid most redirect work.

If you are moving platforms, URL patterns usually change. For example, Shopify uses fixed prefixes such as /products/ and /collections/, while WooCommerce defaults to /product/ and /product-category/. Write the old pattern and new pattern for each page type:

Page type Old pattern New pattern
Product /product/blue-shirt/ /products/blue-shirt
Category /product-category/shirts/ /collections/shirts
Blog post /blue-shirt-guide/ /blogs/news/blue-shirt-guide

Phase 3: build the 301 redirect map

For every URL with traffic, links or rankings, define the destination:

  • Same item exists: redirect to its new URL.
  • Item discontinued: redirect to the closest category or replacement product, not to the home page.
  • Truly no equivalent and no value: a 404 or 410 is acceptable.

Pattern-based rules handle most cases. On Apache, a regex rule in .htaccess can redirect a whole pattern:

RedirectMatch 301 ^/product-category/(.*)$ /collections/$1

Test patterns carefully; one wrong regex can loop or catch the wrong URLs. On WordPress, the Redirection plugin lets you manage and log redirects without editing server files.

Phase 4: migrate data carefully

Products

Export with all fields: SKU, prices, sale prices, stock, attributes, variations, images, categories, tags, descriptions and custom fields. For WooCommerce imports, see my guide to importing products with CSV.

Check after import:

  • Product count per category matches.
  • Variations kept their prices and stock.
  • Images are attached and not hot-linked to the old site.
  • Descriptions are complete, including HTML formatting.

Customers and orders

Order history matters for customer service and accounting. Moving within WordPress keeps everything in the database. Moving to another platform usually needs a migration tool or app. Password hashes generally do not carry across different platforms, so plan a friendly “reset your password” message.

SEO metadata

Export and import titles, meta descriptions, canonical tags and image alt text. These are easy to lose and slow to rebuild.

Phase 5: staging checks before launch

  • All key templates render: home, category, product, cart, checkout, account, blog.
  • Test orders with each payment method, including your local gateways.
  • Redirect map tested on staging with a list of sample URLs.
  • Structured data valid on product pages, see my product page checklist.
  • Page speed checked, using the Core Web Vitals guide.

Phase 6: launch day

  1. Put a short order freeze in place, or plan a final delta import of new orders.
  2. Switch DNS or the domain.
  3. Remove “noindex” and the staging search engine setting. This is the single most common launch-day mistake I see.
  4. Activate redirects.
  5. Submit new XML sitemaps in Search Console.
  6. Crawl the old URL list and confirm every one returns a 301 to a 200 page.
  7. Place a real order end to end.

Phase 7: the first 30 days

  • Watch Search Console coverage and the pages report for unexpected 404s.
  • Check server or plugin 404 logs daily for the first week and add missing redirects.
  • Compare organic landing pages week over week.
  • Keep the old XML sitemap URLs available for a while, so search engines can discover the redirects.

Common mistakes

  • Redirecting everything to the home page. Search engines may treat these as soft 404s.
  • Launching a redesign, content rewrite and platform change at the same time, so you cannot tell what caused a drop.
  • Forgetting image URLs that rank in image search.
  • Changing the domain and the platform in one step without a clear reason.
  • Deleting the old site before redirects have been verified.

Migration checklist

  • Full URL inventory with traffic and links
  • Old-to-new URL patterns defined
  • 301 redirect map built and tested
  • Products, customers, orders and SEO meta migrated and checked
  • Staging tested end to end
  • Noindex removed, sitemaps submitted
  • 30-day monitoring plan

If you are still choosing the destination platform, start with WooCommerce vs Shopify. And if you want help planning or running a migration, contact me with your current setup and where you want to go.

Frequently asked questions

Will I lose rankings when I migrate my store?

Some fluctuation is normal while search engines recrawl. Large, lasting drops usually come from missing redirects, changed content or blocked crawling, which a careful plan avoids.

Should I keep the same URLs?

If the new setup allows it, keeping the same URLs is the safest option. When URLs must change, use one-to-one 301 redirects to the closest matching page.

Can I migrate customer passwords?

It depends on the platforms. Moving between WordPress sites keeps password hashes; moving to a different platform usually requires customers to reset passwords.

How long should old redirects stay in place?

Keep them for as long as possible, ideally permanently. They cost little and protect links that point to old URLs.

Muhamed Ahmed

Ecommerce & Web Solutions Developer

I'm Muhamed Ahmed, an ecommerce and web solutions developer with 15 years of experience building fast, secure online stores and websites on WooCommerce, WordPress and custom Laravel platforms. I write about website speed, SEO, automation and conversion.

All articles Work with me

Related articles