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.

Make Yoast SEO & Woo work together smoothly

  • Make your products stand out in Google
  • Get more buyers to your online store
  • Make products easier to find on your site
  • Have a cleaner XML sitemap & more
More info

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 ask@yoast.com.

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? »

 

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

  1. Basit Ansari
    Basit Ansari  • 6 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  • 6 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  • 7 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  • 7 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  • 7 months ago

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

    • Willemien Hallebeek
      Willemien Hallebeek  • 7 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  • 7 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 Technical SEO

rel=canonical: the ultimate guide

The canonical URL allows you to tell search engines that certain similar URLs are actually one and the same. Learn how to use rel=canonical!

Read article »

hreflang: the ultimate guide

This guide discusses what hreflang is, what it is for and gives in-depth information on how to implement it for your multilingual websites.

Read article »

robots.txt: the ultimate guide

The robots.txt file is a file you can use to tell search engines where they can and cannot go on your site. Learn how to use it to your advantage!

Read article »