Support » Plugin: Google XML Sitemaps » Hidden Products Not Appearing in Sitemap

  • Hello,

    When I set products on Woocommerce to catalog visibility: Hidden, the sitemap (sitemap-posttype-product.xml) stops showing these products.

    I set these certain products to hidden as they will no longer be in stock, and so that customers can’t search for them on the site internally. However, the main reason is so that the product pages are still searchable in Google or via direct-link.

    Is there any code I can use so that the products and featured images still show in the sitemap?

  • You must be logged in to reply to this topic.