Today i have a little issue with Yoast SEO, i would love to hide some pages from Sitemap.xml generated by Yoast.

The problem that when i exlude the ID in the Exlude panel in Backoffice it works perfectly for the ID.

Here is my issue : URL/mon-compte/edit-address/ URL/mon-compte/view-order/

I still have this link on my sitemap.xml

Any solution to exlude those page via a Hook or an other way from showing in Sitemap.XML ?



These are WooCommerce end-points. I don't see any filters for the yoast sitemap except for stuff like taxonomies. I think you could submit it as a feature requests trough their github page.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.