Closed FrankPeters closed 9 months ago
@FrankPeters You can already disable the sitemap on an entry-by-entry basis, or even a collection/taxonomy basis (using the 'Section Defaults' page)...
Closing this for now, but if I'm missing something, feel free to speak up! ❤️
It would be great to allow more control over which collections will be added to the site. We have heavily customized the way that we use collections and taxonomies and it would be helpful to disable an entire collection from being added.
I am thinking that the config file would be a great way to add an array of collections to be ignored for instance. Or maybe add a Seo Pro section to the editing screen of a collection. Or a separate section in the Sitemap settings of Seo Pro.
I have achieved this now by overriding the
Statamic\SeoPro\Sitemap\Sitemap
class and injecting an array into the