Skip to content
Technical SEO 10 min read By Lewis Jones Editorial policy

WooCommerce 301 Redirects: What Is Automatic

Which WooCommerce 301 redirects WordPress adds for you, what 72 live UK stores did with http, www, slash and capital letters, and how to add the rest.

Part of Technical SEO Guide: Crawl, Index, Speed

In short

  • On WooCommerce, WordPress adds a 301 when you change a published product's slug, and guesses a redirect for a missing product whose slug another product starts with; WooCommerce itself adds no product or category redirects
  • Renamed categories, a changed product or category base and old addresses from another platform need redirects you add, in the free Redirection plugin, Rank Math's Redirections module, Yoast SEO Premium or a server rule
  • On 72 live UK stores we tested on 22 November 2026, a missing trailing slash and the other www host each reached the page in one 301 on 70 and 69 stores, and a capitalised slug served the page on all 72 with the canonical tag naming the lower-case address on 70
  • 10 of 72 stores served product pages over plain http, and an old http://www link took two or more hops on 57 of 71
  • Point your own links at the final address, so redirects only catch outside links and bookmarks

A WooCommerce 301 redirect sends anyone who opens an old product or category address, and any search engine that follows a link to it, to the page that replaced it. WordPress adds some of these for you: rename a published product and its old address forwards with a 301. It adds none for renamed categories, a changed product base or a move from another platform, and those go in a redirect plugin or a server rule. We also tested what 72 live UK stores do with five wrong forms of a product address, and found two gaps that usually sit in the server setup rather than in WordPress: http pages served without a move to https, and old http://www links that take two hops.

What WordPress redirects for you

Which WooCommerce address changes redirect on their own

WordPress core does the work below. WooCommerce 11.3 adds no redirects for products or categories.

YOU CHANGEOLD ADDRESSWHY
A published product's slug301 to the new oneWordPress stores the old slug and forwards it.
A product's slug before it was ever publishedNothing to forwardNo public address existed, so none is stored.
A product you delete404, or a 301 to a guessWordPress redirects to any product whose slug starts the same way.
A category's slug404WordPress keeps no history for category slugs.
The product or category base in PermalinksNo planned redirectThe old pattern is forgotten; only the 404 guess might catch a product.
Your shop platform, by moving to WooCommerce404The old addresses never existed in WordPress.
A category rename looks like a tidy-up in the admin, but every link to the old address now ends on a 404.

WooCommerce itself adds no redirects for products or categories. WordPress's own redirects cover posts of every type, products included, and nothing else.

  • A renamed product redirects. Change the slug of a published product and WordPress saves the old one. Anyone who opens the old address gets a 301 to the new one. Every old slug is kept, so after three renames all three old addresses go straight to the current one in a single hop.
  • A renamed category does not. WordPress keeps no history for category, tag or attribute slugs, so /product-category/rugs/ renamed to /product-category/wool-rugs/ leaves every old link on a 404.
  • A changed base does not either. Switching the product base from /product/ to /shop/ in Settings, Permalinks changes every product address at once. WordPress's 404 guess, below, may catch some of them, but nothing is planned.
  • A deleted product falls to the guess. WordPress looks for a published product whose slug starts with the missing one and redirects there with a 301; if there is none, the theme's 404 page. Our WooCommerce 404 page post shows how often that guess picks the wrong product.

What 72 live stores did with http, www, slash and capital letters

We took one real product page on each of the 73 UK stores from our WooCommerce image alt text study and requested five wrong forms of its address on 22 November 2026, following every redirect by hand. 72 product pages still answered (one product had gone).

WordPress handled the slash and, on most stores, the host in one hop; http and the combined case depend on the host.
  • No trailing slash: a 301 to the slashed address on 70 of 72, sent by WordPress itself. The other 2 served the page at both addresses, with a canonical tag naming the slashed one.
  • The slug in capitals, such as /product/Oak-Chair/: all 72 served the product with a 200 and no redirect. WordPress lower-cases a slug before it looks the product up, so any capitalisation finds the page. The canonical tag named the lower-case address on 70; 2 had no canonical tag at all.
  • http instead of https: one 301 on 61. 10 stores served the product over plain http, a second copy of every page. One used a temporary 302.
  • The other host, www for a bare-domain store or the reverse: one 301 on 69 of 71 that answered, mostly sent by WordPress from the site address in Settings, General.
  • http and the other host together, the form an old printed or directory link often has: one hop on only 4 stores. 57 took two or more.

The capital letters need nothing from you while the canonical tag is there: Google is told which address to index, and the page works for anyone who types it. Keep your own links lower case all the same, because every capitalised link is a second URL for Google to fetch.

The http result is worth checking on your own store today. Open http:// plus your domain in a private window. If the address bar still shows http:// on the page that loads, your host is not forcing https, and the fix is usually a setting in its control panel or a server rule.

Two hops where one would do

On 41 of the 55 two-hop stores, the server sent the first 301 and WordPress the second.

Two hops work, but each one is another request before the page starts loading, and Google follows only a limited number in a row. The usual cause is two layers each fixing one thing: the host or CDN upgrades http to https and keeps the host, then WordPress corrects the host. One rule that sends both kinds of wrong address straight to the final one removes the middle step. On Apache, above the # BEGIN WordPress block in .htaccess, for a store whose final address is https://shop.co.uk:

RewriteEngine On
RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} ^www\. [NC]
RewriteRule ^ https://shop.co.uk%{REQUEST_URI} [L,R=301]

If the store sits behind Cloudflare or a host's proxy, set the rule there instead: the server behind it may see every request as http, and the rule above would then loop.

How to add a 301 redirect in WooCommerce

Four places to add a 301 on a WooCommerce store

Pick one and keep every redirect there, so there is a single list to check.

OPTIONWHERECATEGORY RENAMESBEST FOR
Redirection (free plugin)Tools, RedirectionAdd by handMost stores: one list, a 404 log, regular expressions
Rank Math (free)Redirections module, off until you switch it onAuto Post Redirect adds themStores already on Rank Math
Yoast SEO PremiumYoast SEO, RedirectsAdds them on its ownStores already paying for Yoast Premium
Server rules.htaccess or the Nginx configAdd by handWhole-pattern moves after a migration
Two redirect tools on one store answer the same address twice; whichever runs first wins, and the other list goes stale.

WordPress has no redirect screen of its own, so a 301 you choose needs a plugin or a server rule.

With the free Redirection plugin (version 5.10.1 when we checked):

  1. Install and activate Redirection, then open Tools, Redirection and finish its short setup.
  2. Under Redirects, enter the old path, such as /product-category/rugs/, in Source URL.
  3. Enter the new address in Target URL and click Add Redirect. It is a 301 unless you change it.
  4. Open the old address in a private window and check it lands on the new page in one step.

With Rank Math: its Redirections module is off on a new install. Turn it on under Rank Math SEO, Dashboard, Modules, then add redirects under Rank Math SEO, Redirections, Add New. Its Auto Post Redirect setting creates a 301 for you when you change the slug of a product, page or category, which closes the category gap above.

With Yoast SEO Premium: the redirect manager under Yoast SEO, Redirects adds a 301 automatically when you change a post or category slug, and shows a notice when it does. The free version of Yoast has no redirect manager.

After a move to WooCommerce, list every old product and category address, match each to its new one, and import the list in one go. Redirection imports a CSV of source and target URLs. When the old addresses follow a pattern, such as /products/oak-chair on Shopify becoming /product/oak-chair/, one regular expression covers the lot: source ^/products/(.*)$, target /product/$1/, with the regex box ticked. Check a sample by hand afterwards, because a slug that changed during the import needs its own line.

How to check redirects across a WooCommerce store

What a crawl reports about redirects on a store

Findings from a Crawl Cove audit, most urgent first.

  • MEDIUM

    Internal link to a redirect

    A menu, category or product page still links to an old address.

  • MEDIUM

    Canonical points at a redirect

    The canonical tag names an address that forwards somewhere else.

  • MEDIUM

    http is not redirected

    The http address serves a page or an error instead of moving to https.

  • LOW

    Redirect chain

    A page is reached only after two or more hops, or one hop that is a real move.

  • LOW

    Temporary redirect

    A 302 or 307 where the move is permanent.

  • LOW

    Address normalisation

    One hop that only adds https, www or a trailing slash.

Most redirect work on a store is fixing your own links, so the old address only catches outside links and bookmarks.

Open a few old addresses yourself after each change; our redirect checker tool shows every hop, status code and final address for one URL. For a whole store, a crawl follows every link and records each redirect on the way. A crawl only meets the old addresses that something still links to, though. To check the old addresses themselves, start a crawl from "A list of URLs", paste them in, then press Check redirects on that crawl with your old and new addresses in two columns: each row says whether it lands where it should.

In Crawl Cove, a link on your own store that points at a redirecting address is a medium finding, listed with the page and the link text, so you can update the menu, the category description or the product copy that holds it. That is also how WordPress's guessed redirects show up: a link to a removed product that now lands somewhere else. A canonical tag that names a redirecting URL is medium, and so is an http address that serves a page instead of moving to https. Chains of two or more hops, temporary 302 or 307 redirects where the move is permanent, and a single hop that only adds https, www or a slash are low. The crawl runs on your own computer, and the Free plan crawls up to 1,000 URLs a crawl. Download Crawl Cove and start from the store's home page.

The WooCommerce SEO audit puts redirects alongside the rest of a store, redirect chains and loops explains why one hop matters, and WooCommerce duplicate content covers the sorted and filtered addresses that should not be redirected at all. The same post exists for Shopify, Wix, Squarespace and Webflow.

How we checked

On 22 November 2026 we took the 73 UK WooCommerce stores in our product sample (shops in OpenStreetMap in Bristol, Manchester, Leeds and Edinburgh that answered WooCommerce's public Store API with products) and one product page on each. For each store we requested the product's address without its trailing slash, with its slug in capitals, over http, on the other host (www or the bare domain) and over http on the other host, following every redirect by hand and recording each status and X-Redirect-By header. One product had been removed, leaving 72; one store's certificate did not cover its other host, leaving 71 for the two host tests. For every variant that answered 200 at its own address we read the canonical tag. WordPress's behaviour was read from its source (wp_old_slug_redirect in query.php, redirect_canonical and redirect_guess_404_permalink in canonical.php), WooCommerce 11.3.1's from its own, and the plugin settings from Redirection 5.10.1 and Rank Math's source and Yoast's developer documentation. Stores are not named.

Frequently asked questions

How do I set up a 301 redirect in WooCommerce?
WordPress has no redirect screen, so use a plugin. In the free Redirection plugin open Tools, Redirection, enter the old path in Source URL and the new address in Target URL, and click Add Redirect. Rank Math (with its Redirections module switched on) and Yoast SEO Premium have their own redirect managers.
Does WooCommerce redirect when I change a product URL?
Yes, for a published product. WordPress keeps the old slug and sends the old address to the new one with a 301, however many times you rename it. It does not do the same for categories, tags or attribute archives.
Does changing a WooCommerce category slug break links?
Yes, unless something adds a redirect. WordPress keeps no history for category slugs, so the old address returns 404. Rank Math's Auto Post Redirect setting and Yoast SEO Premium add a 301 when you change one; otherwise add it by hand.
How do I redirect a deleted WooCommerce product?
Add a 301 from its address to the replacement product, or to its category if there is no replacement. Without one, WordPress redirects to any product whose slug starts with the deleted one's, which can be the wrong product.
Should I use a 301 or a 302 in WooCommerce?
A 301 for anything permanent: a renamed product, a merged category or a store move. A 302 says the old address will come back, so search engines may keep showing it, which is right only for a short, genuine change such as a seasonal page.

Audit your site the easy way

Crawl Cove finds these issues on your machine. Try the Bulk Redirect Checker and the Site-Wide Broken Link Checker or see every feature.

Download free