Disable Category and all Posts in Category from Site Map

#28860
  • Resolved Will T.
    Rank Math free

    I would like to exclude one WooCommerce product category and as well as all of the products associated with that category within the sitemap. I can see where I can disable a product category and that worked. Only other way to exclude all of the products within that category is by putting in each post id of each product. The problem here is that we add new products to that category all the time so it would be cumbersome to continue to remember to add the post id of the product to the exclude list. Is there any way to exclude all products in that specific category from being indexed in the site map? Thank you!

Viewing 1 replies (of 1 total)
  • Todd
    Rank Math free

    Hi Will,

    Thanks for getting in touch with us.

    If you mark any products as noindex, they will not appear in your sitemap.

    The same goes for product categories as well.

    If you do not wish to mark them as noindex, you have to manually add the post IDs each time.

    There is no other option, unfortunately.

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 1 replies (of 1 total)

The ticket ‘Disable Category and all Posts in Category from Site Map’ is closed to new replies.