Skip to content

WordPress WooCommerce SEO for product catalogs — schema, indexing, canonicals

WordPress WooCommerce SEO for stores with 10,000+ SKUs — product schema, canonical handling for variations, faceted filter URLs, and the indexing budget audit.

A WordPress WooCommerce store with 14,000 SKUs is being out-ranked by a competitor with one-third the catalogue. The competitor’s category pages rank for the head terms, the long tail is split evenly. The audit reveals the issue is structural: faceted filters create 600,000 indexable URLs, Google’s crawl budget is exhausted before reaching the new products, product schema is missing the availability field for half the catalogue, and the variation URLs all canonicalize to themselves instead of the parent product. WooCommerce SEO at catalogue scale is a structural problem, not a copywriting problem.

What’s happening

WooCommerce ships these SEO-relevant primitives:

  1. Product schema (JSON-LD). Yoast SEO, Rank Math, and SEO Framework all generate Product schema with name, image, description, sku, brand, offers, aggregateRating.
  2. Canonical URL. WordPress sets one per page. For a product variation, by default this is the parent product URL.
  3. robots.txt and the WordPress robots meta tag. Controlled by SEO plugins.
  4. Sitemaps. Auto-generated, listing every public product, category, and tag.
  5. Faceted filter URLs. ?orderby=price&filter_color=red&filter_size=L. These are crawlable by default and create combinatorial explosion.

The five SEO-at-scale failure modes:

  • Faceted filter URLs indexed. Google crawls every combination of filter parameters. Crawl budget evaporates. Index bloat.
  • Variation URLs as canonicals. Each variation has a unique URL with ?attribute_size=L&attribute_color=red. If the canonical points to itself, you have 288 near-duplicate pages.
  • Out-of-stock products with availability: InStock in schema. Schema lies. Google penalizes.
  • Category pages with thin content (just product grids). No category description, no curated copy. Underperforms category pages with editorial.
  • Sitemap pagination broken. Sitemaps capped at 10,000 URLs per file. Misconfigured plugins emit oversized or empty sitemaps.

How to verify

# Count products in the catalog
wp wc product list --format=count

# How many variation URLs are indexable?
wp db query "SELECT COUNT(*) FROM wp_posts WHERE post_type='product_variation' AND post_status='publish'"

# Sitemaps generated by SEO plugin (Yoast example)
curl -s 'https://example.com/sitemap_index.xml' | grep -oE 'https://[^<]+xml'

# Out-of-stock products that the SEO plugin might still flag as in stock
wp db query "SELECT p.ID, p.post_title FROM wp_posts p
  JOIN wp_postmeta pm ON p.ID=pm.post_id AND pm.meta_key='_stock_status'
  WHERE p.post_type='product' AND p.post_status='publish' AND pm.meta_value='outofstock'"

# Faceted filter URLs being crawled — check the access log
grep -E "filter_|orderby=" /var/log/nginx/access_log | awk '{print $7}' | sort -u | head -50

# Robots meta tag for variation pages
curl -s 'https://example.com/product/example-product/?attribute_size=L' | grep -i 'meta.*robots'

# Crawl errors reported by Google Search Console
# (no CLI for this — check Search Console → Pages → Why pages aren't indexed)

# Product schema validation — pick one product and run it
curl -s 'https://example.com/product/example-product/' | grep -oE '<script[^>]*ld\+json[^>]*>.*?</script>' | head -200

# Internal linking depth — how many clicks from homepage to a long-tail product?
# Use a crawler like Screaming Frog with "Crawl Depth" report

The most useful single signal is the crawl-budget audit in Google Search Console (Pages → “Discovered - currently not indexed”). If the count is high, your crawl budget is wasted on URLs Google does not want to index.

The fix

  1. Block faceted filter URLs from indexing. In robots.txt:
    User-agent: *
    Disallow: /*?filter_*
    Disallow: /*?orderby=
    Disallow: /*?min_price=
    Disallow: /*?max_price=
    Or via the SEO plugin (Yoast → Crawl optimization → Disable URL parameter crawling).
  2. Set canonical for variation URLs to the parent product. The default behavior depends on the SEO plugin. With Yoast:
    add_filter('wpseo_canonical', function ($canonical) {
      global $post;
      if (is_singular('product') && isset($_GET['attribute_size'])) {
        return get_permalink($post->ID);  // strip query params
      }
      return $canonical;
    });
  3. Set out-of-stock products to availability: OutOfStock. SEO plugins usually handle this if you tick the box, but verify. Out-of-stock products that schema says are in stock get penalized.
  4. Add category page content. Each top-level category should have 200+ words of editorial copy above the product grid. Buyer’s guides, comparison tables, sizing information. This is the cheapest SEO lift on a WooCommerce store and the most often skipped.
  5. Audit the sitemap. Open https://example.com/sitemap_index.xml. Confirm:
    • Each child sitemap is under 50,000 URLs and 50 MB
    • Out-of-stock and draft products are excluded if you do not want them indexed
    • The lastmod dates are recent (within 30 days of the last product update)
  6. Improve internal linking depth. Top-level categories → subcategories → products in 3 clicks. Anything 5+ clicks deep from the homepage is functionally unindexed. Add curated “related products” blocks and breadcrumb navigation.

For the broader WordPress SEO foundation, the SEO plugin choice is foundational — most stores we audit run Yoast or Rank Math. Pair with enterprise WordPress operations for the catalogue-scale audit cadence.


Stack Harbor runs WordPress WooCommerce catalogue SEO audits under enterprise WordPress operations — the indexing budget, the canonical posture, and the schema validation. If your catalogue has 10,000+ SKUs and Google indexes a fraction of them, we can run the audit.