k-sync
Back to blog

301 redirects: WooCommerce to Shopify complete guide (2026)

Complete guide to setting up 301 redirects when migrating from WooCommerce to Shopify — URL pattern differences, bulk redirect import, Shopify's redirect manager, and SEO best practices.

·By k-sync
6 min read · 1,168 words

301 redirects are the single most important SEO task when migrating from WooCommerce to Shopify. Every URL that exists in Google's index needs a 301 redirect to its Shopify equivalent — otherwise you permanently lose the link equity and rankings those pages accumulated. This guide covers every URL type you need to redirect and how to set them up efficiently.

Why 301 redirects are critical

When Google has indexed a URL (a product page, category page, blog post), that page has accumulated:

A 301 redirect tells Google: "This page has permanently moved here." Google transfers approximately 90–99% of link equity from the old URL to the new URL over 2–6 weeks. Without a redirect, that page returns a 404, Google drops it from the index, and all accumulated ranking signals are lost permanently.

WooCommerce vs Shopify URL structure

Content typeWooCommerce URLShopify URL
Product page/product/product-slug//products/product-handle
Product category/product-category/category-slug//collections/collection-handle
Tag page/product-tag/tag-name//collections/all?q=tag-name (or custom collection)
Blog post (WordPress)/blog-name/post-slug/ or /year/month/post-slug//blogs/news/post-handle
Blog archive/blog-name/ or /blog//blogs/news
Author archive/author/author-name/No equivalent — redirect to /blogs/news
Static page/page-name//pages/page-handle
Cart/cart//cart
Account login/my-account//account/login
Shop page/shop//collections/all or /

Setting up redirects in Shopify

Shopify Admin URL Redirect Manager

Shopify Admin → Online Store → Navigation → URL Redirects

This interface allows you to:

Bulk redirect import via CSV

For stores with more than 10–20 products, bulk CSV import is the only practical approach. Shopify's redirect CSV format:

Redirect from,Redirect to
/product/old-product-slug,/products/new-product-handle
/product-category/electronics,/collections/electronics
/blog/2024/01/my-blog-post,/blogs/news/my-blog-post

Important notes on the CSV format:

How to build your redirect CSV

Product redirects

The most important redirects. Products have different URL structures on WooCommerce (/product/slug/) vs Shopify (/products/handle).

To build the product redirect CSV:

  1. WooCommerce export: Export your WooCommerce products via WooCommerce → Products → Export. The CSV includes the "slug" column (the WooCommerce URL slug).
  2. Shopify products: After pushing products to Shopify (via k-sync or CSV), export your Shopify products. The "Handle" column is the Shopify URL slug.
  3. Build mapping: Match WooCommerce slugs to Shopify handles. If your product slugs match exactly (which they usually do), the formula is simple:
    Redirect from: /product/{wc-slug}/
    Redirect to: /products/{shopify-handle}

In a spreadsheet:

=CONCAT("/product/", A2, "/")    ← Redirect from
=CONCAT("/products/", B2)        ← Redirect to

Category redirects

WooCommerce product categories (/product-category/slug/) need to redirect to Shopify collections (/collections/handle).

Export WooCommerce categories: WooCommerce → Products → Categories → Export. Match the category slug to the Shopify collection handle:

/product-category/electronics,/collections/electronics
/product-category/clothing/mens,/collections/mens-clothing

Note: WooCommerce supports hierarchical categories (/product-category/clothing/mens/). Shopify collections are flat — recreate parent/child logic using tags or separate collections.

Blog post redirects

WordPress blog posts can have several URL structures depending on your permalink settings:

Shopify blog posts are at: /blogs/{blog-name}/{post-handle}

Export your WordPress posts to build the redirect list. If you're using date-based URLs, each post needs its date stripped:

/2024/01/15/my-blog-post,/blogs/news/my-blog-post
/blog/my-blog-post,/blogs/news/my-blog-post

Page redirects

Static WordPress pages typically map directly: /about-us//pages/about-us. Usually straightforward to set up manually.

Shop page redirect

/shop,/collections/all
/shop/,/collections/all

Account page redirect

/my-account,/account/login
/my-account/,/account/login

Shopify redirect limitations to know

No wildcard redirects

Shopify's redirect manager does not support wildcard or regex redirects. You cannot do:

/product/* → /products/*    ← DOES NOT WORK in Shopify

Every redirect must be listed individually. For large catalogs, this means your redirect CSV may have thousands of rows — which is fine, Shopify handles this.

Maximum 100,000 redirects

Shopify supports up to 100,000 URL redirects per store (on Plus, there's higher capacity). For most WooCommerce migrations, this is sufficient.

Redirect processing speed

Shopify resolves redirects at the CDN level, so redirects are fast. However, you should minimize redirect chains (A → B → C) — always point directly to the final URL.

Apps for wildcard redirects

If you need wildcard or pattern-based redirects (useful for complex URL restructuring), apps like Easy Redirects or SEO Manager support regex and pattern redirects.

When to set up redirects

Timing matters for SEO:

Verifying redirects after migration

After DNS propagation, verify your redirects:

Manual spot checks

Visit 10–20 of your most important old URLs in a browser. You should be automatically redirected to the Shopify equivalent.

Using redirect checking tools

Common redirect mistakes to verify

International stores: hreflang and subdomain redirects

For stores that had multilingual WooCommerce (WPML, Polylang) with language subdomains or subdirectories:

Update hreflang tags to reflect the new URL structure. Shopify Markets automatically generates hreflang tags when configured correctly.

Redirect setup checklist

Redirects are not glamorous work, but they're the difference between a migration that preserves years of SEO investment and one that destroys it. Spend the time to build a complete redirect map before your DNS cutover — it's the highest-ROI migration task you'll do.

Migrate your store with k-sync

Connect your WooCommerce store, validate your products, and push to Shopify in minutes. Free for up to 50 products.

Get started free

Related reading

Browse all migration guides