Free to explore: filter winning sites by DR, traffic and niche  ·  Try the live explorer →

WooCommerce SEO: start with permalinks

Small-shop products on a laptop screen

Ask how to improve WooCommerce SEO and you will usually be handed a plugin and a checklist. Plugins help, but they sit on top of a structure that WooCommerce sets for you: the URLs of every product, category and tag. Get that structure right and the rest of the work compounds. Get it wrong and every later fix is a migration.

So this guide starts where WooCommerce itself does, with permalinks, then covers the work that follows: product pages, filters, schema and sitemaps. For the wider picture of shop SEO across platforms, see our guide to ecommerce SEO.

The four product base options

WooCommerce’s Permalinks documentation sets out the choices for the product base, the part of the URL that comes before each product’s own slug. You will find them under the WordPress permalink settings.

A product page on a tablet
OptionExample from the documentationWhat it says about the URL
Defaultexample.com/?product=111 or example.com/product/hoodie-with-logoPlain “ID-based URLs” with standard WordPress permalinks, otherwise a /product/ base
Shop baseexample.com/shop/hoodie-with-logoUses the shop page as the base
Shop base with categoryexample.com/shop/hoodies/hoodie-with-logoAdds the product category to every URL
Custom baseexample.com/superstore/hoodie-with-logoAny base you define

Category and tag archives have their own bases. The category base defaults to product-category and the tag base to product-tag, both of which you can change on the same settings screen.

Which structure is best for WooCommerce SEO

WooCommerce’s own advice is the right starting point: “Keep permalink structures as short as possible and include keywords that relate to the content they categorize.” Short URLs are easier to read, share and audit, and they survive restructures better.

An online shopping on laptop

Avoid the plain ID-based option. A URL such as ?product=111 tells neither searchers nor you anything about the page. Any of the slug-based options is better.

Shop base with category is the tempting one, because the category in the path looks descriptive. The cost is that the URL now depends on how products are categorised. Move a product to a new category, or reorganise the catalogue, and its URL changes with it. Shops that reshuffle categories often are usually better served by a flat product base, which keeps every product URL stable whatever happens to the navigation. Our guide to URL structure covers that trade-off in more depth.

Products sorted on shelves

There is no single correct answer. A small shop with a fixed range of a few clear categories can carry the category in the path without much risk. A shop whose catalogue changes every season should keep the path flat.

The category and tag bases deserve the same scrutiny. The defaults, product-category and product-tag, are long and say little, but they are also harmless. Shortening them is worth doing on a new shop, before any category page has earned links or rankings. On an established shop the gain is small and the risk is the same as changing the product base: every archive URL moves. If the category pages already rank, leave the bases alone.

Tags are worth a separate thought. Many shops create tags freely, and each one gets its own archive page with a handful of products on it. Those thin pages rarely deserve to be indexed. Decide early whether tags are a navigation feature for customers or a set of landing pages for search, because that decision shapes how you configure them.

The documentation is blunt about this: “Changing permalink structures updates the URLs of existing products. Any previously shared links or search engine indexes pointing to the old URLs will return 404 errors unless you set up redirects.”

A planning notes in notebook

That is the whole risk in two sentences. Every link anyone has built to a product, every ranking it holds and every bookmark a customer saved points at the old address. Change the base without redirects and all of it lands on an error page.

If you must change the structure, map every old URL to its new equivalent first, then make the change and put permanent redirects in place at the same time. Our explainer on 301 vs 302 redirects covers why a permanent redirect is the right type for this. Afterwards, crawl the old URL list to confirm each one resolves in a single hop to the right product rather than to the home page.

Watch the product URLs in Search Console for the following weeks as well. Old addresses should drop out of the index as the new ones replace them; any that linger or show as not found usually point to a gap in the redirect map.

With the URLs settled, the remaining work falls into four areas. None of them is specific to WooCommerce, but each has a WooCommerce shape.

Product descriptions. Many shops paste the manufacturer’s text, which means the same copy appears on every other shop selling the product. Write descriptions that answer what a buyer actually asks: sizing, materials, use and how it compares with the alternatives. Category pages benefit from a short introduction too, written for the shopper rather than stuffed with keywords, so the page says something a bare product grid cannot.

Product photos on a table

Faceted filters. Layered navigation for colour, size and price can generate a URL for every combination. Decide which filtered views deserve to be indexed and keep the rest out. Our guide to faceted navigation SEO walks through the options.

Product schema. Product markup describes price, availability and reviews to search engines. WooCommerce and SEO plugins generate it, so check the output on real pages; our guide to product schema covers what it should contain.

Sitemaps. WordPress produces a sitemap of its own, and SEO plugins usually replace it with a more configurable one. Either way, make sure products and the categories you want indexed are in it, and the filtered views you do not want indexed are not.

A shop owner at a laptop

If you are weighing WooCommerce against a hosted platform, the comparison is mostly about control. WooCommerce lets you set the permalink structure; hosted platforms often fix part of it for you. Our guide to Shopify SEO shows the other side of that trade.

One limitation to be clear about. Good permalinks remove a source of problems; they do not create rankings on their own. A short, stable URL structure makes everything else easier to do and to measure, but the products, the content and the links still have to earn the traffic. Treat this as foundation work, done once and done carefully, rather than a lever to pull whenever traffic dips.

Frequently asked questions

What is WooCommerce SEO?

It is the work of making a WooCommerce shop easy for search engines to crawl and understand: permalinks, product descriptions, filters, product schema and sitemaps.

Which WooCommerce permalink structure is best?

A short, slug-based one. WooCommerce advises keeping structures as short as possible with relevant keywords. Avoid plain ID-based URLs, and think twice before putting categories in the path if your catalogue changes often.

What happens if I change WooCommerce permalinks?

Existing product URLs change, and old links and indexed URLs will return 404 errors unless you set up redirects.

What are the default category and tag bases?

The category base defaults to product-category and the tag base to product-tag.

The takeaway Set a short, slug-based permalink structure before the shop grows, redirect every old URL if you ever change it, then work through descriptions, filters, schema and sitemaps.