Guide

WooCommerce SEO: the WordPress and store settings that decide what Google finds

A WooCommerce store is a WordPress site with a shop added, so its SEO is split across two sets of settings and usually a third-party plugin. WooCommerce SEO goes faster once you know which of the three does what. This guide reads WordPress's and WooCommerce's own documentation and code to show what they handle without help, the settings that change your addresses, and where a plugin is worth adding.

Two layers

WooCommerce runs inside WordPress, and both write part of each page

WooCommerce is a plugin. WordPress still writes the page title and the sitemap, while WooCommerce adds the product pages, the cart and its own markup. Before installing anything else, it helps to know what is already on the page:

Who handles each search job on a WooCommerce store, before any SEO plugin
JobOut of the boxWorth checking
Page titleWordPress joins the item's name and the site name with a hyphen (its title function)Fine for most products; a plugin lets you write your own
Meta descriptionNo field for it in WordPress itselfGoogle writes the snippet mostly from page text anyway, and may use a description that sums the page up better
SitemapWordPress lists products, product categories and tags at /wp-sitemap.xml (added in WordPress 5.5)An SEO plugin often swaps in its own; submit whichever one is live
Product markupWooCommerce adds Product structured data to each product pageWhich fields feed it (below)
Cart, checkout, My accountWooCommerce marks them noindex (its code)Nothing to add
Add-to-cart buttons in product listsCarry rel="nofollow" when the button's link is not the product's own addressNothing to add

Much of what plugin guides tell you to set up is in that middle column already. The jobs left over are the ones that need judgement: the words on each page, the address pattern, and which archive pages deserve a place in Search.

Visibility

Two switches that can hide the whole store from Google

Stores are often built behind a switch and launched without anyone flipping it back. WooCommerce stores have two, one in each layer, and either can keep a finished shop out of Search.

WordPress: Discourage search engines

On the Reading screen under Settings sits a checkbox that asks search engines to leave the whole site out. Its documentation describes the effect: once the box is on, all of the site's pages carry a noindex,nofollow robots tag, though visitors notice nothing. The built-in sitemap goes dark for as long as the setting stays on. It belongs on a staging copy, and it often survives the move to the live site.

WooCommerce: Site visibility

Newer versions of WooCommerce add a Coming soon mode under WooCommerce, Settings, Site visibility. While it is on, only logged-in staff and people holding a private link see the store; everyone else gets a Coming soon page, either for the whole site or, with "Apply to store pages only", for the shop alone. WooCommerce's page does not mention search engines. Our reading is that Google, which holds no login or link, is shown the Coming soon page like any other visitor.

After launch, check both settings, then open a product page in URL Inspection in Search Console. It reports whether Google may index the page and what it was served when it last called.

Addresses

Choosing the product address before launch

WooCommerce offers four patterns for product addresses under Settings, Permalinks. Its permalinks documentation gives an example of each, using a hoodie:

WooCommerce's product permalink options
OptionExample addressWhat to weigh
Default/product/hoodie-with-logoShort, and stable when a product moves category
Shop base/shop/hoodie-with-logoThe same, under the shop's name
Shop base with category/shop/hoodies/hoodie-with-logoThe category becomes part of the address, so recategorising a product changes it
Custom base/superstore/hoodie-with-logoAny word you like in place of the base

Category and tag pages have their own bases in the Optional section of the same screen: product-category and product-tag unless you change them. Google's guidance on store addresses asks for descriptive words in the path and as few alternative addresses for the same content as possible; in our reading all four options meet that, since the product's slug carries the words. Our own preference is the default or a shop base. A store whose products sit in several categories, or move between them with the seasons, keeps steadier addresses without the category in the path.

What WordPress redirects for you, and what it does not

Edit a single product's slug and the previous slug is stored with the product. WordPress's old slug redirect sends anyone requesting the old address to the new one with a permanent (301) redirect. That safety net covers posts and products, but not pages. Rename a product category's or a tag's slug and the old address simply stops working. Change the product base itself and WooCommerce's documentation warns that every existing product address changes, with old links and indexed pages returning errors until redirects are in place. Pick the pattern before launch; on a live store, treat a change as a small migration and work through our website migration checklist first.

Product data

The product fields WooCommerce's own markup reads

WooCommerce builds the Product structured data on each product page from fields you fill in yourself. Reading its structured data code shows which fields matter:

  • SKUSent as the product's identifier. Leave it blank and WooCommerce sends the product's internal ID number instead, which means nothing outside your store.
  • GTIN, UPC, EAN, or ISBNA field on the Inventory tab. WooCommerce passes it on only when the number is a valid GTIN, so check the barcode digits on branded goods.
  • Price and sale priceRead straight from the product, with a sale's end date where you set one.
  • Stock statusTurned into InStock, OutOfStock or BackOrder in the markup, so it follows what the page shows.

Paste a product address into Google's Rich Results Test to see the result. One Product block is right; two usually means a plugin or the theme is adding its own beside WooCommerce's, and one of them should be switched off. What Google asks of the rest of a product page, variants and Merchant Center included, is in our product page SEO guide.

One store-wide stock setting is worth a look as well. Under WooCommerce, Settings, Products, Inventory there is an Out Of Stock Visibility box; WooCommerce's product settings page says ticking it hides out-of-stock items from the store catalogue. We would tick it only on a store whose sold-out lines rarely return. For items that come back, leave it unticked so categories keep linking to them; how to handle the page itself is in the product guide.

Archives

Tag pages, filters and sort links

Every product tag gets its own archive page under /product-tag/, and because tags are public, WordPress puts them in its sitemap too. A store that tags freely ends up with dozens of near-empty lists in Search. Our advice is to use tags sparingly, or keep the tag archives out of Search with your SEO plugin and leave categories to carry the browsing.

Filters and sorting add addresses of a different kind. WooCommerce's classic attribute filter adds a parameter such as ?filter_colour=blue, and the Sort by menu adds one such as ?orderby=price. Combine a few filters across a large range and the number of possible addresses climbs into the thousands. Google's faceted navigation guidance says that when those addresses do not need to be in Search, the dependable options are a robots.txt rule that stops them being crawled or filters that work through URL fragments. Canonical tags and nofollow links, it adds, tend to work less well over time. Crawling them also costs your server, and Google notes it can slow the discovery of your new pages.

If you write a robots.txt rule for these parameters, test it against a few real addresses first; a rule that is too broad can block the categories themselves. How categories, pagination and the filters a shopper sees should work is covered in our category page SEO guide.

Plugins

What an SEO plugin should do on a WooCommerce store

Most stores add an SEO plugin, mainly for the title and description fields WordPress lacks. We do not recommend a particular one. These are the tests we would apply to any of them:

  1. It gives each product, category and page its own title and description fields, with sensible defaults for the hundreds you will not write by hand.
  2. It builds or manages a sitemap, and you submit that one in Search Console rather than the WordPress one it replaced.
  3. It can keep chosen archives, such as tag pages, out of Search with a noindex setting.
  4. It leaves WooCommerce's own noindex on the cart, checkout and My account pages in place, so you add no rules there.
  5. It does not produce a second Product block beside WooCommerce's, or it replaces WooCommerce's cleanly.

Run only one SEO plugin. A second one competes with the first for the title, the sitemap and the markup of every page, and the page source is where the clash shows. Each extra plugin also adds code to every page; speed and Core Web Vitals are covered in our technical SEO checklist.

Getting help

Where outside help earns its keep

Nothing on this page is out of reach for an owner with an administrator login. The cases where a second pair of hands is worth calling in are narrower: a store that already has thousands of filter or tag addresses in Search, a theme and several plugins that all write markup, or an address pattern that has to change on a store that already sells.

Our ecommerce SEO work covers three kinds of store: WooCommerce, Shopify and custom-built stores. If you are weighing up WooCommerce SEO services, this is what ours involve. You create a login for us with only the permissions the work needs, we make the edits through it, and you remove it when the work ends. Any developer work, such as theme code, is ours too: it is written into your scope and quoted before we start. Each store is quoted on its own (the pricing page explains how), and you keep the store, and every account, in your own name. Running Shopify instead? Our Shopify SEO guide covers that platform.

Frequently asked questions

Which SEO plugin is best for WooCommerce?

We do not name one, because the right choice depends on the store, and several do the same core jobs. Judge any plugin on a short list: it lets you write a title and a description for each product, category and page; it builds or manages the sitemap; it can keep pages you do not want in Search out of it; and it does not add a second copy of the product markup WooCommerce already writes. Run one SEO plugin, not two.

Is WooCommerce better than WordPress?

They are not alternatives. WordPress is the system that runs the website, and WooCommerce is a free plugin, listed in the WordPress plugin directory, that adds a shop to it: products, a cart and a checkout. Every WooCommerce store is a WordPress site, which is why its SEO settings are split between the two.

Should I noindex the cart and checkout pages in WooCommerce?

WooCommerce already does it. Its own code adds a noindex robots tag to the pages set as the cart, the checkout and My account. It also sends a noindex header on the order-received page and the other addresses WooCommerce calls endpoints. You do not need a plugin rule or a robots.txt line for those pages; check one in your browser's page source if you want to see it.

Does changing a product's slug break its link?

Usually not. WordPress remembers a product's previous slug and sends anyone who asks for the old address to the new one with a permanent redirect. It keeps no such record for product categories or tags, and a change to the product base under Settings, Permalinks moves every product at once, so both of those need redirects you set up yourself.

Need a hand with a WooCommerce store?

Send the shop's web address and say which settings on this page are giving you trouble. We reply within one business day.

Get a free site review and quote