Ask Yoast:

Ask Yoast Include WooCommerce product tags in XML sitemap?

XML sitemaps are an important part of your site because they ensure search engines can crawl all the pages on your site that you want to appear in the search results. It’s up to you to decide what pages you want to include, and what pages are better left unincluded. Keep an eye out for thin content pages, for example, as these can harm your rankings.

Yoast SEO allows you a lot of control over what will and what won’t appear in your XML sitemap and the search results. With good reason: many sites have pages that add little value, and are better off not being crawled. But how do you determine if including a page in an XML sitemap is beneficial? Let’s go into that with this week’s question!

Marek emailed us his question on this subject:

Is it beneficial for SEO to include WooCommerce product tags in an XML sitemap? They are currently added by default by Yoast SEO.

Watch the video or read the transcript further down the page for my answer!

Including WooCommerce product tags in your XML sitemap

“Whether or not it’s beneficial depends. If your product tags are a good entry point for Google to find more of your products on your site, then yes it’s beneficial. 

If your product tags are lousy pages that add no value, then no, it is not beneficial. So you should make a decision about that yourself. Good luck!”

Ask Yoast

 In the series Ask Yoast, we answer SEO questions from our readers. Have an SEO-related question? Maybe we can help you out! Send an email to

Note: please check our blog and knowledge base first, the answer to your question may already be out there! For urgent questions, for example about our plugin not working properly, we’d like to refer you to our support page.

Read more: What is an XML sitemap and why should you have one? »


Ask Yoast series

Use structured data to win in Google!

  • Make your search results stand out
  • Increase traffic to your website
  • On-demand SEO training by Yoast
  • No technical skills required!
More info

7 Responses to Ask Yoast: Include WooCommerce product tags in your XML sitemap?

  1. Basit Ansari
    Basit Ansari  • 10 months ago

    Yes, It is very important to add these tags to sitemap because search engine easily crawls these tag and also increase our traffic.

  2. Ryan Valentine
    Ryan Valentine  • 10 months ago

    Having a good XML sitemap + product tags is huge for us on WooCommerce websites and integration with other sales channels for client products. This has made it really easy on us, so thanks!

  3. charlisays
    charlisays  • 11 months ago

    To be honest I don´t like the update. Since the update the sitemap includes a sitemap for attachements. But at the end attachements are thin content! Where can I deactivate this sitemap? I can´t find this option. In google webmaster tools my ratings fall down and warnings increased. (also because a page which was already excluded by robots.txt is know included in the sitemap the single change was the update of yoast plugin).

    • Willemien Hallebeek
      Willemien Hallebeek  • 10 months ago

      Hi! We’re sorry you don’t like the update and you’re having some issues with it. If you want to deactivate the attachment sitemap you can do so in ‘Search Appearance’ under the tab ‘Media’. If you choose ‘no’ as an answer there, it will ask you if you want to show these in the search results. If you select ‘no’ there again, your attachments will be kept out of the sitemap.

  4. steel Guide
    steel Guide  • 11 months ago

    How can i add sitemap in my website ?please inform me

    • Willemien Hallebeek
      Willemien Hallebeek  • 11 months ago

      Hi! If you’re on WordPress you can install Yoast SEO. That way an XML sitemap will be generated. It’s there by default, so you don’t have to worry about it anymore.

  5. Freddy G. Cabrera
    Freddy G. Cabrera  • 11 months ago

    Hey Joost!

    If you are running an ecommerce site and are using WordPress as the platform, this is good to know.

    When it comes to SEO you have to do everything right in order to get the best results in the search engines.

    Thank you for sharing this! :D

    Best regards!

Check out our must read articles about Shop SEO