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

WooCommerce Permalinks: Which Settings to Use

What each WooCommerce permalink setting does to product and category addresses, what 73 live UK stores chose, and how to change them without losing pages.

Part of Technical SEO Guide: Crawl, Index, Speed

In short

  • WooCommerce permalinks are set in Settings, Permalinks; products default to /product/ and categories to /product-category/, and a custom product base left blank falls back to /product/
  • Of 73 live UK WooCommerce stores we read on 22 November 2026, 61 kept /product/ and 62 of 71 kept /product-category/; 7 put the category in every product address
  • On those 7 stores an address with another of the product's categories, no category or a made-up one answered one 301 to the real address in 17 of 18 tests, so a product in several categories still has one URL
  • Changing a base on a live store moves every address at once and WordPress adds no redirects for it, so plan one pattern redirect before you save

WooCommerce permalinks are the address patterns your store uses for products, categories, tags and attributes, set in Settings, Permalinks. Out of the box a product lives at /product/oak-chair/ and a category at /product-category/chairs/. We read the addresses 73 live UK stores publish: 61 never changed the product base and 62 of 71 kept the category base. The seven that put the category in every product address had no duplicate problem, because a wrong category in the address answered with one 301 to the real page in 17 of 18 tests. The real risk is changing the pattern on a live store without redirects.

The settings sit below WordPress's own permalink structure on the same screen. WooCommerce only offers pretty product addresses when WordPress does: with the Plain structure a product is /?product=123.

Only one setting puts something into the address that changes over time: the category.

Product permalinks has four choices. Default uses the word product. Shop base uses the slug of the page you set as the shop page, usually /shop/. Shop base with category adds the product's category after it. Custom base takes any text you type, and WooCommerce's settings code turns a blank box back into the default, so this screen cannot remove the base altogether.

Optional holds the bases for category, tag and attribute archives. WooCommerce's documentation asks for each base to differ from the product base, because WordPress needs to tell a category address from a product address. Attribute archives such as /size/medium/ exist only when you switch on Enable archives for that attribute under Products, Attributes.

Sub-categories carry their parent by default: a child of Chairs lives at /product-category/chairs/dining-chairs/, so moving a sub-category to another parent moves its address too.

What 73 live stores chose

Five of the 12 stores that changed the product base only swapped the word. The other seven added the category.

The 12 stores that changed the product base split two ways. Five swapped the word for another one: /shop/, /buy/, /products/, /p/ or /shop/product/. Seven put the category into the address, some after /shop/ and some after their own word, such as /store/coffee/single-origin/la-paz/ on a coffee roaster. On the category side, nine stores used another base or none.

Sixty-six of the 73 ended product addresses with a slash. Products follow WordPress's own structure for that, so a store whose structure ends without a slash gets products without one.

None of this tells you a ranking effect. Google's URL structure guidance asks for simple, readable words, and /product/oak-chair/ already is one. The base word itself is not a reason to move a live store.

Category in the address: what happens to the other paths

The usual worry about Shop base with category is a product in three categories getting three addresses. We tested it. On each of the seven stores we took one product and asked for it three wrong ways.

WordPress finds the product by its slug, then sends any other path to the one it builds.

Seventeen of the 18 requests answered one 301 to the product's real address, and every real address carried a canonical tag naming itself. A bed shop with all 100 products in two or more categories still had one address per product. On these seven stores, the feared duplicates did not exist.

The costs are elsewhere. The address is longer, and it changes whenever you move a product to another category or change which category comes first. The old address keeps working through that 301, but every menu link, category description and product link that still holds it now takes a hop. One store sent the product with no category to its home page with a 302, which Google can treat as a soft 404 rather than a move. If you use this setting, test that form on your own store.

On a new store, decide before launch and keep it. On a live store, leave the defaults unless there is a business reason, such as a migration from another platform where the old pattern carries links. A base change moves every product address at once, and WordPress adds no redirects for it: its old-slug redirect covers a renamed product, not a renamed base.

One regex line in the Redirection plugin covers every product, because the slug stays the same.

If you want the base gone altogether, the free Rank Math plugin's WooCommerce module has Remove base, Remove category base and Remove parent slugs options, and its code sends an address with the old base to the new one with a 301. Without a base, a product slug can clash with a page slug, so check for pages and products that share a name first.

After saving, if products 404, WordPress has not rebuilt its rewrite rules: open Settings, Permalinks and click Save Changes again. The WooCommerce 301 redirect guide covers the redirect plugins, and WooCommerce 404 pages covers what a visitor sees when one is missed.

How to check every URL on a WooCommerce store

A permalink change shows up in your own links before it shows up in Search Console. A crawl follows every link on the store and records each address it reaches.

In Crawl Cove, an internal link to an address that redirects is a medium finding, listed with the page and the link text, which is how a menu or category description still holding an old base shows up. A temporary 302 or 307 where the move is permanent, and chains of two or more hops, are low. Indexable addresses with capital letters or tracking parameters are flagged too. 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 addresses alongside the rest of a store, WooCommerce duplicate content covers the sorted and filtered addresses that are a real duplicate risk, and WooCommerce product category SEO covers the category pages themselves. 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). For each we read up to 100 products and 100 product categories from the Store API, which returns the address WooCommerce builds for each one, and classified the product and category bases from them. Two stores returned no categories. On the seven stores whose product addresses carried a category, we requested one product under another of its categories (four had a product in two or more), with the category removed and with a made-up category, following redirects and recording each status and the canonical tag. The settings were read from WooCommerce's documentation and its permalink settings code (wc_get_permalink_structure and the admin permalink settings class), and Rank Math's options from its WooCommerce module source.

Frequently asked questions

What is the best permalink structure for WooCommerce?
For most stores, the default: /product/ for products and /product-category/ for categories. Both are short and readable, they are what 61 of the 73 live UK stores we checked use, and they never change when you recategorise a product. Pick something else before launch if you have a reason, not after.
How do I change permalinks in WooCommerce?
Go to Settings, Permalinks in the WordPress dashboard. The Product permalinks section has Default, Shop base, Shop base with category and Custom base; the Optional section holds the product category, tag and attribute bases. Click Save Changes, then add redirects from the old addresses.
Can I remove /product/ from WooCommerce URLs?
Not with WooCommerce's own settings: a custom base left blank falls back to /product/. The free Rank Math plugin's WooCommerce module has a Remove base option, which also sends the old addresses to the new ones with a 301. Weigh it against the risk of a product slug clashing with a page slug.
Why do my WooCommerce products show 404 after changing permalinks?
WordPress has not rebuilt its rewrite rules. Open Settings, Permalinks and click Save Changes again without editing anything. If old links 404 rather than new ones, you need redirects from the old pattern.
Does shop base with category create duplicate content?
Not in our test. On 7 live stores using a category in the address, the product under another of its categories, with no category and with a made-up one answered one 301 to the single real address in 17 of 18 cases. The cost is a longer address that changes when the product's category does.

Audit your site the easy way

Crawl Cove finds these issues on your machine. Try the Bulk Redirect Checker and the SEO Crawler or see every feature.

Download free

Keep reading