Contact Us

Ecommerce · October 28, 2026

WooCommerce SEO: rank your store on Google

WooCommerce SEO diagram: product and category URLs to index, pages to noindex, and sorting and filter parameters to block in robots.txt

WooCommerce SEO comes down to five decisions: lock in a stable permalink structure before launch, run a single, properly configured SEO plugin, decide exactly which URLs Google should index (products and categories) and which it should ignore (sorting, filters, cart, thin tag pages), handle out-of-stock products without throwing away rankings, and keep the store fast. WordPress gives you full control over every one of these, but none of them is optimized out of the box.

WooCommerce powers a large share of the world's online stores, and it is the platform we work with most often, both for Tunisian retailers and for brands selling into Europe. Its flexibility is also its biggest SEO risk: every plugin, filter widget and setting can spin up hundreds of low-value URLs that Googlebot crawls instead of your product pages.

This guide is written for store owners, marketing teams and ecommerce startups running WooCommerce. It is the companion to our Shopify SEO guide and focuses on what is specific to WordPress and WooCommerce.

Is WooCommerce good for SEO?

Yes, once it is configured. Unlike Shopify, WooCommerce imposes almost nothing: you control the URLs, the robots.txt file, the theme code and the server. That freedom allows very precise SEO work, but it also leaves plenty of room for mistakes.

What WordPress and WooCommerce handleWhat is still on youCommon pitfalls
Native XML sitemap since WordPress 5.5Choosing and configuring an SEO pluginTwo SEO plugins active at the same time
Basic Product JSON-LD markupUnique titles, meta descriptions and copyManufacturer descriptions pasted word for word
Customizable permalinksA durable URL structure and redirectsChanging permalinks without 301 redirects
Full access to robots.txt and the serverIndexing rules for filters and sortingThousands of filter URLs crawled by Google

Still choosing a platform? Our Shopify vs WooCommerce comparison covers cost, flexibility and SEO side by side.

WooCommerce permalinks: pick a URL structure you will keep

Permalinks live under Settings > Permalinks. According to the official WooCommerce documentation, you can choose the default /product/ base, the shop base (/shop/product-name/), the shop base with category (/shop/dresses/product-name/) or a custom base. Categories default to /product-category/.

Which product base should you use?

  • A simple base (/product/white-linen-dress/): the safest option. URLs stay short and never change, even when you reorganize your categories.
  • Shop base with category: more descriptive, but URLs get longer and change whenever a product moves to another category. Avoid it if your catalog changes often.
  • Category base: shortening /product-category/ to something like /category/ or /collection/ is fine, as long as you do it before launch.

The golden rule: decide once, before you go live. As WooCommerce itself warns, changing permalinks on an existing store rewrites every URL and produces 404 errors unless redirects are in place. If a change is unavoidable, follow our ecommerce migration SEO checklist.

Product slugs

The slug is the last part of the URL. Keep it short and descriptive, with no dates, internal SKUs or filler words: /product/white-linen-dress/ rather than /product/new-white-linen-dress-summer-2026-ref-4521/.

WooCommerce SEO plugins: run one, and configure it properly

WordPress does not handle custom titles and meta descriptions on its own, so an SEO plugin such as Yoast SEO, Rank Math or All in One SEO is essential. For the core features they are broadly comparable. What matters most is running only one: two active plugins output duplicate canonical tags, structured data and sitemaps.

Once your plugin is installed, check these settings first:

  • Title templates for products and categories, with the product name first and the brand last.
  • XML sitemap: SEO plugins usually replace the native WordPress sitemap introduced in version 5.5, as described in the WordPress core announcement. Make sure it lists only indexable URLs, then submit it in Google Search Console.
  • Taxonomies: decide whether product tags (/product-tag/) and attribute archives should be indexed at all.
  • Breadcrumbs: enable them in your theme or plugin to strengthen internal linking and show the page path in search results.

Indexing: which WooCommerce pages should Google index?

This is the heart of technical SEO for a WooCommerce store. The goal is simple: Google should spend its crawl time on your products and categories, not on endless variations of the same product lists. The table below shows our default recommendations, to be adapted to each catalog.

Page typeExample URLRecommendation
Product page/product/white-linen-dress/Index
Category/category/dresses/Index, with unique copy
Category pagination/category/dresses/page/2/Keep crawlable, self-referencing canonical
Product tag/product-tag/sale/Noindex, unless the tag has real content
Cart, checkout, account/cart/, /checkout/Noindex
Sorting and filters?orderby=price, ?filter_color=blueBlock crawling in robots.txt
Add-to-cart links and site search?add-to-cart=123, ?s=dressBlock crawling in robots.txt

Pagination: don't canonicalize everything to page 1

A frequent mistake is pointing the canonical tag of every paginated page to the first page of the category. Google's pagination guidelines recommend the opposite: each page gets its own canonical URL and a standard <a href> link to the next page. If your theme uses a "Load more" button or infinite scroll, make sure crawlable links still exist.

Filters, sorting and faceted navigation

WooCommerce's filter widgets and third-party filter plugins add parameters to your URLs. With ten colors, eight sizes and five sort orders, one category can generate thousands of combinations. In its documentation on managing faceted navigation, Google recommends blocking these URLs in robots.txt when you don't need them indexed, and returning a 404 for combinations with no results.

Here is a starting point for your robots.txt, to adapt to your own store:

User-agent: *
Disallow: /*?add-to-cart=
Disallow: /*&add-to-cart=
Disallow: /*?orderby=
Disallow: /*&orderby=
Disallow: /*?filter_
Disallow: /*&filter_
Disallow: /*?s=

Sitemap: https://www.your-store.com/sitemap_index.xml

Two important caveats. First, don't block a noindexed page such as the cart in robots.txt: if Google can't fetch the page, it never sees the noindex tag. Recent WooCommerce versions already add noindex to the cart, checkout and account pages, so check your page source. Second, if a filter combination matches a real search, such as "white linen dress", turn it into a proper subcategory with its own copy. Our ecommerce category page SEO guide explains how.

Out-of-stock products, variations and discontinued items

Temporarily out of stock

A product that will be restocked should stay live and indexed. Its page has often built up rankings and backlinks, and removing it throws that away. Show availability clearly, offer a back-in-stock alert and suggest similar products. The WooCommerce setting Products > Inventory > Hide out of stock items from the catalog removes them from listings while keeping the product page reachable, which is often a good compromise for shoppers.

Permanently discontinued

If there is a close replacement, a 301 redirect to that product or to the parent category preserves most of the value. If there is no relevant alternative, let the page return a 404 or 410 rather than redirecting everything to the homepage, which Google generally treats as a soft error.

Variable products

Group colors and sizes into one variable product instead of creating a separate product for each variant. You concentrate reviews, links and ranking signals on a single URL. Only split variants into their own products when they attract distinct searches and deserve their own content.

Content: product and category pages that rank

Technical SEO opens the door; content earns the rankings. For every strategic product, write a unique description that answers the buyer's real questions: materials, dimensions, use cases, care, shipping times. Never reuse the manufacturer's description, which already appears on dozens of other sites.

  • Category pages: a short intro above the grid and more detailed copy below it, with links to subcategories.
  • Images: descriptive file names, meaningful alt text and modern formats, covered in our product image optimization guide.
  • Structured data: WooCommerce's built-in Product markup is incomplete. Add brand, GTIN, reviews and return policy using our ecommerce structured data guide.

WooCommerce speed: hosting, plugins and Core Web Vitals

A slow store loses both rankings and sales. On WooCommerce, speed depends on three things you control: hosting (a current PHP version, object caching, servers close to your customers), the theme, and the number of plugins. We regularly audit stores that load scripts from ten or fifteen plugins on pages where none of them are needed.

Test your key templates with PageSpeed Insights and track Core Web Vitals in Search Console. Our guide to speeding up WooCommerce walks through the fixes step by step.

A 30-day WooCommerce SEO action plan

  1. Week 1: audit. Connect Search Console, crawl the store, and list indexed filter and sorting URLs, 404 errors, duplicate SEO plugins and pages without custom titles.
  2. Week 2: indexing. Update robots.txt, set noindex on thin tags and unnecessary archives, clean up the sitemap and check pagination.
  3. Week 3: content. Rewrite titles, meta descriptions and copy for your 20 most important categories and 50 best-selling products, following Google's ecommerce best practices.
  4. Week 4: performance and structured data. Remove unnecessary plugins, measure Core Web Vitals, complete your Product markup and plan blog content to support key categories.

Example: a home appliance store on WooCommerce

Consider an illustrative case: a home appliance retailer in Sfax with 800 products and 40 categories, shipping across Tunisia. Search Console shows more than 15,000 discovered URLs, the vast majority of them filter combinations (brand, capacity, color, price sorting) and add-to-cart links. New product pages take weeks to get crawled.

The plan: block filter, sorting and add-to-cart parameters in robots.txt, turn the three combinations people actually search for ("no frost fridge", for example) into written subcategories, set 300 near-empty tag pages to noindex, and remove a second SEO plugin that was still active. Crawling then focuses on the pages that matter. How far rankings improve after that depends on competition and on consistent content work.

Conclusion: WooCommerce rewards well-configured stores

WooCommerce SEO is not about finding a magic plugin. It is a series of clear technical decisions: stable permalinks, a single SEO plugin, a precise indexing policy for filters and taxonomies, a sensible approach to stock-outs and a fast store. On that foundation, every well-written product and category page can bring in customers from Google instead of relying on paid ads alone.

Our team builds and optimizes WooCommerce stores for brands in Tunisia and Europe: technical SEO audits, indexing setup, speed optimization and product copywriting. Explore our WooCommerce development services and SEO services, or ask for a free audit of your store.

Request a free WooCommerce SEO audit

Yes. WooCommerce gives you control over URLs, robots.txt, theme code and hosting, which allows very precise SEO work. The trade-off is that almost nothing is optimized by default: you need an SEO plugin, clear indexing rules for filters and taxonomies, and a fast setup.

Yoast SEO, Rank Math and All in One SEO all cover the essentials: titles, meta descriptions, XML sitemaps, breadcrumbs and indexing settings. The most important rule is to run only one of them, because two active SEO plugins create duplicate tags and sitemaps.

It is not necessary for rankings. You can shorten or rename the bases before launch. On an existing store, any permalink change requires a 301 redirect for every old URL, so the benefit rarely justifies the risk.

No, not if they will come back. Keep the page live and indexed, show availability and suggest alternatives. For permanently discontinued products, 301 redirect to a close replacement or the parent category, or return a 404 or 410 if no relevant alternative exists.

The most effective method is adding Disallow rules in robots.txt for filter, sorting and add-to-cart parameters, as Google recommends for faceted navigation. Filter combinations that match real searches should become proper subcategories with their own content.