Advertisement

WooCommerce Sitemap Generator

Our WooCommerce Sitemap Generator crawls your store to discover canonical products and product categories. It bypasses the limitations of standard WordPress SEO plugins to give you a focused, e-commerce specific XML map.

How to Use This Tool

1
1

Enter WooCommerce URL

Input the homepage URL of your WooCommerce store (e.g., https://shop.example.com).
2
2

Analyze Site

Click generate to let our crawler map your WooCommerce architecture, including posts, pages, and products.
3
3

Review URLs

Check the discovered URLs. We exclude default WooCommerce system pages and non-indexable routes.
4
4

Choose Output

Select either a standard 'Single Sitemap' or 'Sitemap Index' format.
5
5

Copy or Download

Save the generated XML file directly to your device.
6
6

Recommended Action

Upload the sitemap to your root directory (if allowed by WooCommerce) and submit it via Google Search Console.

How WooCommerce Handles Sitemaps

WooCommerce runs on top of WordPress. By itself, WooCommerce does not generate sitemaps; it relies entirely on the WordPress Core sitemap or third-party plugins like Yoast or RankMath.

When configured, these plugins simply treat WooCommerce products as a custom post type (product) and categories as custom taxonomies (product_cat). They output these to standard XML files like product-sitemap.xml.

What BuildSitemap Checks

BuildSitemap acts as a neutral third-party crawler. We navigate your store exactly how Googlebot does—by clicking links.

We specifically look for your /product/ and /product-category/ paths. Crucially, we ignore the parameterized URLs generated by WooCommerce's filtering widgets (like price sliders and attribute dropdowns) to ensure only canonical URLs are recorded.

URLs We Discover

  • Canonical Product pages (/product/item-slug)
  • Product Categories (/product-category/category-slug)
  • Product Tags (/product-tag/tag-slug) - though often excluded for SEO
  • Shop Base Page (/shop/)

URLs to Exclude

  • Cart, Checkout, and My Account pages
  • Add-to-cart URLs (?add-to-cart=123)
  • Layered navigation and filters (?min_price=10&max_price=50)
  • Attribute variations (?attribute_pa_color=red)
  • Order tracking pages (/order-tracking/)

WooCommerce Sitemap Structure

A highly optimized WooCommerce store separates its e-commerce elements from its blog elements.

You should generate a Structured Sitemap that explicitly buckets URLs containing `/product/` and `/product-category/`. This allows you to submit your store inventory independently from your WordPress blog posts to Google Search Console.

Common WooCommerce Problems

WooCommerce's default layered navigation (filtering by size/color) creates thousands of parameterized URLs that accidentally end up indexed if not canonicalized properly.

Store owners often forget to 'noindex' the Cart, Checkout, and My Account pages, leading to crawl budget waste.

Product tags (`/product-tag/`) often create massive amounts of duplicate content matching category pages.

How to Use Your Generated Sitemap

If you are frustrated with your current WordPress SEO plugin breaking your sitemaps, you can use our generated XML file as a static replacement.

Download the generated sitemap.xml, upload it to the root of your `public_html` directory via FTP or your hosting control panel, and submit that static file to Google Search Console. Just remember to re-generate it when you add new products.

Advertisement
Advertisement

Example WooCommerce Output

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://store.example.com/product/organic-coffee-beans</loc>
    <lastmod>2026-09-21</lastmod>
    <priority>1.0</priority>
  </url>
  <url>
    <loc>https://store.example.com/product-category/coffee</loc>
    <lastmod>2026-09-18</lastmod>
    <priority>0.8</priority>
  </url>
</urlset>

Best Practice Checklist

Frequently Asked Questions

Does WooCommerce have a built-in sitemap?

No, WooCommerce relies on WordPress Core or SEO plugins to generate the sitemap. It registers 'Products' as a custom post type for those plugins to read.

Should WooCommerce tags be in the sitemap?

Usually, no. Product tags often create thin pages that duplicate the content of your product categories. It is an SEO best practice to 'noindex' product tags.

How do I exclude the Cart page from my sitemap?

Our crawler ignores links with standard parameterized cart queries, but you must ensure your Cart page is marked 'noindex' in WordPress, and you should manually verify it is not in the generated XML.

Why are my WooCommerce products not indexing?

If Google crawls too many parameterized URLs (e.g., from a sidebar filter widget), it runs out of crawl budget and never reaches your actual products. An isolated product sitemap helps solve this.

Can I use BuildSitemap for a WooCommerce staging site?

Yes, as long as the staging site is not password protected. Just ensure you update the base URLs before submitting the sitemap to Google.

How do I update the sitemap when I add a new WooCommerce product?

If using a plugin like Yoast, it updates automatically. If using a static custom sitemap generated by BuildSitemap, you must regenerate and re-upload the XML file.

Related Tools

Advertisement
Advertisement