WooCommerce to Shopify SEO: How to Keep Your Rankings with Redirects

The data move gets most of the attention, but the part of a migration that decides whether your Google traffic survives is the redirects. Getting WooCommerce to Shopify SEO redirects right is mostly careful list work: every old address that matters needs to point at its new home. This article is part of our complete WordPress to Shopify migration guide, and it goes deep on that one job.

If your products, customers and orders are not moved yet, start with how to move WooCommerce products, customers and orders to Shopify. Come back here once the new store has its final URLs.

Why almost every URL changes

WooCommerce lets you shape URLs however you like. Shopify does not. Every Shopify store uses the same fixed patterns:

  • Products: /products/product-handle
  • Collections, which replace categories: /collections/collection-handle
  • Pages: /pages/page-handle
  • Blog posts: /blogs/news/post-handle, where "news" is the name of the default blog

You cannot remove those prefixes. So even when a product keeps exactly the same slug, its full address changes, and Google treats it as a new page unless you say otherwise. A redirect is how you say otherwise.

What WooCommerce to Shopify SEO redirects look like

Here are typical pairs from a clothing store. The URLs are examples, but the patterns are the ones you will see on almost every WooCommerce site.

Old WooCommerce URLNew Shopify URLNote
/product/linen-polo-shirt//products/linen-polo-shirtProduct, same slug
/product-category/mens/polo//collections/mens-poloNested category becomes one flat collection
/shop//collections/allMain shop page
/about-us//pages/about-usRegular page
/2023/05/how-to-choose-a-polo//blogs/news/how-to-choose-a-poloDated blog post
/product-tag/summer//collections/summer-collectionTag archive, only if it had traffic
/product-category/mens/page/2//collections/mensPagination goes to page one
/linen-polo-shirt/polo-front//products/linen-polo-shirtImage attachment page

Step 1: build the redirect map

A redirect map is a spreadsheet with two columns: old URL and new URL. Build it from three sources, because each one catches addresses the others miss.

A full crawl of the old site

Run a crawler over the live WooCommerce site to collect every product, category, page, post and tag URL, and export your XML sitemaps too. This gives you the complete list of what exists today.

Google Search Console

Export the pages report and the performance report for the longest period available. This shows which URLs Google has indexed and which actually bring clicks. Some will not appear in your crawl at all, such as old products you deleted that people still search for.

Backlinks

Pull the list of pages other sites link to, from the links report in Search Console or a backlink tool. A blogger who linked to an old product page three years ago is still sending you value. Those URLs must redirect.

Merge the three lists, remove duplicates, then fill in the new URL for each row. Match one to one wherever you can: product to product, category to the closest collection, post to post. Only fall back to a broader page when there is no real equivalent.

Step 2: choose 301, not 302

A 301 redirect says a page has moved permanently. Search engines pass the old page's signals to the new address and, over time, show the new URL in their results. A 302 says the move is temporary, so search engines may keep the old URL indexed and hold back on the new one.

For a platform migration you want 301s. Shopify's built-in URL redirects are permanent redirects, so there is no type to choose when you load your map there. Just watch for leftover rules from the old setup, such as a redirect plugin or server config on a subdomain, that might still send 302s.

Step 3: add the redirects in Shopify

Shopify has a URL redirects tool in the admin. Its place in the menus has moved over the years, so the quickest way to find it is to search the admin for "URL redirects". There are two ways to use it:

  • One at a time: type the old path and the new path. Fine for a handful of pages.
  • CSV import: upload a file with a "Redirect from" column and a "Redirect to" column. This is how you load hundreds or thousands in one go.

Use paths in the "from" column, such as /product/linen-polo-shirt/, rather than full web addresses. Import a small test batch first, check that each one works, then import the rest. Test both the version with a trailing slash and the one without, since old links on other sites use both.

Two quirks are worth knowing. First, Shopify only follows a redirect when there is no live page at the old address, so if a new product happens to use an old path, the product wins. Second, when you change a product or collection handle inside Shopify, it offers to create a redirect from the old handle for you. Leave that option ticked.

Step 4: handle the awkward URLs

Categories and subcategories

WooCommerce nests categories, as in /product-category/mens/polo/. Shopify collections are flat. Give each important subcategory its own collection and redirect to it. Small or empty categories can point to their parent collection.

Tag archives

Product tags in WooCommerce create their own archive pages, and most are thin. If a tag page has traffic or links, redirect it to the nearest collection. If it has none, let it go. There is no need to recreate every tag.

Pagination

Pages such as /page/2/ rarely matter on their own. Redirect the ones that show up in Search Console to the first page of the matching collection, and ignore the rest.

Attachment pages and files

WordPress can create a page for every uploaded image, and some sites let these slip into Google. Redirect any that appear in Search Console to the product or post they belonged to. Size charts, catalogues and other PDFs that people still link to should be re-uploaded to Shopify and redirected to their new location or to the page that now holds them.

Deleted products

If a product no longer exists, redirect it to the closest current product or its collection, not to the home page. Search engines tend to treat a mass redirect to the home page much like a missing page.

Step 5: keep titles and meta descriptions

Redirects move the address, but the content still has to match. For every page that ranks, copy its existing SEO title and meta description into the search engine listing fields for that product, collection, page or post in Shopify. Keep the main heading and body copy close to the original, and carry the image alt text across. Improve the copy later, once rankings have settled, not on launch day.

If you want a clear list of which pages carry your traffic before you start, an SEO audit gives you exactly that. For smaller stores, basic SEO setup covers titles, meta descriptions and Search Console on the new store.

Step 6: launch day and the sitemap

  • Point your domain at Shopify and set it as the primary domain.
  • Click through your top fifty old URLs and confirm each one lands on the right new page in a single hop.
  • Submit the Shopify sitemap, found at /sitemap.xml on your domain, in Google Search Console.
  • Keep the same Search Console property, so your history stays in one place and before and after comparisons are easy.
Old WooCommerce product and category URLs lining up with their new Shopify addresses
Example data only: a store's old URLs checked against their new Shopify pages on launch day.

Step 7: monitor the first two weeks

The first fortnight is when missed redirects show up. Check these every day for the first week, then every few days:

  • Pages report in Search Console: new "not found" errors point to URLs that still need a redirect.
  • Performance report: compare clicks on your top pages with the same days before the move. A small dip is normal. A sharp drop on one page usually means a missing redirect or a changed title.
  • Your store analytics: watch for visits landing on the 404 page, and check where they came from.

Add redirects for anything you find as you go. Our WordPress to Shopify migration service includes the redirect map, the import and this monitoring, with 30 days of care after launch.

Common mistakes

  • Sending everything to the home page. It is quick, and it throws away the relevance each old page had built up.
  • Redirect chains. Old URL to an older redirect to the new page. Point every old URL straight at its final address.
  • Forgetting the blog. Posts often bring in a big share of search traffic, and the /blogs/news/ pattern changes every single one.
  • Rewriting content during the move. Change one thing at a time so you can tell what caused any drop.
  • Deleting the old site too soon. Keep a full backup and your crawl export for reference.

Still deciding whether to move at all? Read WooCommerce vs Shopify for Philippine sellers first, and for the budget side, what a WordPress to Shopify migration costs.

Frequently asked questions

Do I need a redirect for every old URL?

Every URL with traffic, rankings or backlinks needs one, while thin tag pages, empty pagination and pages nobody ever visited can be left out without harm.

Will my rankings drop after the move?

Some movement in the first weeks is normal while Google recrawls the store, and with a complete redirect map and unchanged content, rankings usually settle back.

Can I change Shopify's /products/ or /collections/ prefixes?

No. They are fixed on every Shopify store, which is why redirects are needed even when a product keeps exactly the same slug.

Should I use 301 or 302 redirects?

Use 301 redirects for a migration, and since Shopify's URL redirects are permanent, loading your map into Shopify gives you the right type automatically.

How long should the redirects stay in place?

Keep them permanently, because they cost nothing to keep and old links on other sites will keep sending visitors through them for years.