How to Create A WooCommerce Product Sitemap – Static/HTML & XML
We thought we would put together a quick guide on how to create static and XML product sitemaps for WooCommerce.
One thing that has surprised me in the past with WooCommerce SEO is how few good resources there are out there for putting together product level sitemaps for WooCommerce, so I thought I would create this article in case anyone found it useful.
Static/HTML Product Sitemap
The best product level static sitemap tool I have found so far is the Kwayy HTML Sitemap plugin.
Install the plugin, then configure the plugin via Settings > Kwayy HTML Sitemap Options in the WordPress dashboard.
You can choose which type of content to include in the sitemap, such as posts and pages, as well as WooCommerce products, and any other post types that are in use.
Once you have selected what you want to display in your html sitemap, you can add the follow shortcode to a new page in WordPress:
This is probably best suited to sites with under ~1000 products. Any more than that, and you would probably want to split out your sitemap into paginated pages or categories.
XML Product Sitemap
WooCommerce products aren’t picked up by all XML sitemap plugins for WordPress.
Better WordPress Google XML Sitemaps (free) is one plugin that does pick up WooCommerce products, categories, and other content.
Another plugin that can create WooCommerce product sitemaps is the Yoast WooCommerce SEO plugin (paid).
Main image adapted from a pattern by Marc Anderson, and the WooCommerce logo.