← all posts
WooCommerce SEO: Product, Category and Filter Pages
SEO 11 min read

WooCommerce SEO: Product, Category and Filter Pages

J
Jaspreet Singh
2026-11-14

WooCommerce SEO for product, category and filter pages: what WooCommerce does by itself, Google's faceted navigation rules, a robots.txt for filter URLs and what its Product schema covers.

Jaspreet NagiUpdated 21 October 2026SEO · How-to
Quick answer

WooCommerce SEO comes down to four page types: product pages with your own descriptions and identifiers, category pages with an intro and clean pagination, filter and sort URLs kept out of crawling unless they deserve a real page, and Product structured data checked against Google's merchant listing rules. WooCommerce handles some of this itself.

WooCommerce gives you more control than Shopify and more ways to create duplicate URLs. This guide goes through what WooCommerce does by itself, what Google asks for on ecommerce sites, and what is left to you. WooCommerce details come from its documentation and its source code for version 11.2.1, Google's from Search Central, all checked on 21 October 2026. The site-wide basics are in the WordPress SEO checklist, and it sits in the semantic SEO section of this site.

How do you optimise WooCommerce product pages?

Write your own description, title and image alt text for each product, fill in the identifiers, and decide what happens when a product goes out of stock.

  1. Replace supplier descriptions. The same text sits on every store that sells the product. Say who it suits, the size and material in plain words, care instructions, and what customers ask before they buy.
  2. Write a title for the page, separate from the product name if your SEO plugin allows it. Product type, the attribute people search for, and your brand at the end is a good pattern.
  3. Keep the URL slug short and readable. Google's ecommerce guide recommends descriptive words, such as /product/black-t-shirt-with-a-white-collar, over an ID like /product/3243.
  4. Fill in the GTIN, UPC, EAN or ISBN field in the product editor where a product has one. WooCommerce added this field in version 9.2, and its markup passes the value to Google.
  5. Give images a file name and alt text that describe the product. Show the colours and angles a shopper would ask about.
  6. Turn on reviews only if you'll collect real ones. WooCommerce adds the ratings to its markup by itself.

Variations need one decision. WooCommerce shows a variable product on one URL and lets the shopper pick the size or colour. Google's guide to ecommerce URL structure says each variant should be identifiable by its own URL, such as a path segment or a query parameter, and that when you use optional parameters, the URL without them should be the canonical. WooCommerce variation links use parameters like ?attribute_pa_size=large, so the plain product URL stays the canonical, which matches what Google describes.

For stock: if a product will come back, keep the page live and let it show as out of stock. If it is gone for good, redirect it with a 301 to the nearest replacement or to its category, so the links and the visitors aren't lost.

How do you make category pages rank?

Give each category an intro that answers what is in it and who it suits, a unique title, crawlable pagination, and noindex when it is empty.

A category page with only a product grid gives Google and AI answers almost nothing to quote. Two or three short paragraphs above or below the grid help: what the range covers, how to choose between the options, and links to the two or three buying guides on your blog. Write the category description in Products, Categories, and check that your theme prints it.

Pagination follows Google's pagination guidance. Each page in the sequence gets its own URL and its own canonical, so don't point page 2 at page 1. Link the pages with normal <a href> links. Google no longer uses rel="next" and rel="prev". If your theme uses infinite scroll or a load more button, make sure plain paginated URLs still exist, because Google's crawlers don't click buttons.

Two WooCommerce details. The default category base is /product-category/, set in Settings, Permalinks, and WooCommerce's own documentation warns that changing permalinks on a live store breaks old URLs unless you add redirects. And a category with no products should carry noindex until it has some, which is what Google's ecommerce URL guide asks for. How the categories themselves should map to topics is in pillar pages and topic clusters on WordPress.

What should you do with filter and sort URLs?

Keep most of them out of crawling with robots.txt, and turn the few filtered lists people search for into real category or attribute pages.

Google's guide to managing faceted navigation explains why this matters. Filter parameters can create an almost infinite number of URLs, and crawlers will typically fetch a very large number of them before working out they are useless. That costs your server and slows the discovery of new products. Google's first recommendation, if you don't need those URLs in Search, is to disallow them in robots.txt and let crawlers reach the products and an unfiltered listing page.

It also covers the two tools people reach for first. A canonical from the filtered URL to the unfiltered one, or nofollow on the filter links, may reduce crawling over time, but Google calls both generally less effective in the long term than robots.txt. Noindex has the same limit, since Google has to crawl a page to see it.

On a WooCommerce store with the classic layered navigation, the parameters to watch are filter_ plus the attribute name, query_type_ for and or or matching, min_price and max_price from the price filter, and orderby from the sort menu. Shop pages also link to ?add-to-cart= URLs. Here is a starting robots.txt that blocks them. Check your own filter URLs first, since block-based filters and plugins can use other names.

# WooCommerce filter, sort and cart URLs: keep crawlers off them
User-agent: *
Disallow: /*?*filter_
Disallow: /*?*query_type_
Disallow: /*?*min_price=
Disallow: /*?*max_price=
Disallow: /*?*orderby=
Disallow: /*?*add-to-cart=
Disallow: /wp-admin/
Allow: /wp-admin/admin-ajax.php

Sitemap: https://example.com/sitemap.xml

Test the rules before you rely on them: open Search Console's robots.txt report and check a few real filter URLs with URL Inspection. Blocking a URL doesn't remove one that is already indexed, so expect old filter pages to fade out over weeks. The wider crawl checks are in the technical SEO checklist, and if the store is slow on top of this, Core Web Vitals and INP on WordPress covers the fixes.

!

WordPress core prints a canonical tag on single posts, pages and products only. Shop and category archives get theirs from your SEO plugin, so check one in view-source.

!

A filtered list that people search for, such as blue linen kurtas, works better as a category or an attribute archive. WooCommerce gives attributes a URL like /color/blue/ when you tick Enable archives on the attribute.

What product schema does WooCommerce add?

WooCommerce prints Product markup in JSON-LD on product pages by itself, with price, stock, SKU, GTIN and reviews. It leaves out brand, shipping and return details, and it describes variable products with a price range.

Google offers two kinds of product markup, explained in its product structured data introduction: product snippets for pages where people can't buy, and merchant listings for pages where they can. A store wants merchant listings. Their required properties are name, image and an offers block with a price and currency, and Google notes that merchant listings need an Offer, because the merchant has to be the seller. Here is what WooCommerce's own code prints, set against that.

PropertyWooCommerce core (11.2.1)What Google says
name, url, description, image, skuYesname and image are required for merchant listings
gtinYes, from the GTIN, UPC, EAN or ISBN field (added in 9.2)Recommended. Fill it in where your products have one
offers: price, currency, availabilityYes, an Offer for simple productsOffer with price and priceCurrency is required
Variable products with a price rangeAggregateOffer with low and high price, unless a URL selects one variationMerchant listings need an Offer. Check variable products in the Rich Results Test
aggregateRating and reviewsYes, when the product has ratings and review ratings are on (up to 5 reviews)Recommended. Only real reviews shown on the page
brandNot in core markupRecommended. An SEO plugin or extension can add it
Shipping and return details on the productNot in core product markupRecommended for merchant listings
ProductGroup for variantsNot in core markupGoogle's variant markup uses ProductGroup with hasVariant and variesBy

The row to check first is variable products. When the variations have different prices, WooCommerce describes the parent product with an AggregateOffer giving the lowest and highest price. Run one variable product through the Rich Results Test and look at the Merchant listings report in Search Console. If those products show issues, a plugin that outputs Google's ProductGroup variant markup is one way to fix it.

The other common problem is doubled markup. An SEO plugin, a review plugin and the theme can each print their own Product block, sometimes with different prices. View the page source on one product, search for "@type":"Product", and keep one source. Which types still earn rich results in 2026 is covered in schema markup in 2026, and the SEO plugins that add brand and shipping fields are compared in AI SEO plugins for WordPress.

Running Shopify as well, or thinking of moving? The same four page types on that platform are in the Shopify SEO checklist.

Questions people ask

Is WooCommerce good for SEO?

Yes. It runs on WordPress, so you control titles, URLs, content and code, and it prints Product structured data and noindex on cart, checkout and account pages by itself. The weak spots are filter and sort URLs, duplicate supplier descriptions and thin category pages, which you have to manage.

Should I remove /product/ and /product-category/ from WooCommerce URLs?

You don't need to. WooCommerce lets you change the bases in Settings, Permalinks, but changing them on a live store changes every product URL, and old links return 404 unless you add redirects. Google's ecommerce URL guide asks for descriptive words in the path, and the default bases don't get in the way of that.

Should WooCommerce filter pages be indexed?

Most shouldn't. Google's faceted navigation guide says to block filter URLs in robots.txt if you don't need them in Search. If a filtered list is something people search for, make it a proper category or attribute archive with its own text and link to it.

Do I need a schema plugin for WooCommerce?

Not for the basics. WooCommerce's core code outputs Product markup with price, stock, SKU, GTIN and reviews. A plugin or extension helps if you want brand, shipping and return details, or ProductGroup markup for variants. Make sure only one tool prints Product markup.

How do I handle out-of-stock products?

If the product will come back, keep the page live and let the markup show it as out of stock. If it is gone for good, redirect it with a 301 to the closest replacement or its category. A page with no replacement can return 404.

Why does Google index my WooCommerce add-to-cart links?

Shop and category pages link to ?add-to-cart= URLs, and Google crawls links it finds. Blocking the add-to-cart parameter in robots.txt stops the crawling. Google's ecommerce URL guide also asks you to keep alternative URLs that return the same content to a minimum.

Sources

Not sure where to start?Tell me what your business does and where customers find you. I'll reply with a first plan.
Book a call

Read next

Want results like this for your business?

Our wptaskify team takes repeat work off your hands with AI and helps more customers find you on Google, Maps and in AI answers.