This issue was copied from pluginpal/strapi-plugin-sitemap#133
Feature request
Summary
It would be nice to support excluding Pages from the sitemap by model-attributes.
Why is it needed?
For example: We have a model "TeamMember" which has a boolean attribute hasProfilePage. The frontend can only show the profile page of this person, if this value is true. The sitemap unfortunately contains all members with their slugs, which leads to 404 errors if hasProfilePage is false
Suggested solution(s)
In the Sitemap url bundles popup, add an area for building conditions for in- or excluding pages based on model attributes.
Related issue(s)/PR(s)
I think this would be solved by pluginpal/strapi-plugin-sitemap#109
This issue was copied from pluginpal/strapi-plugin-sitemap#133
Feature request
Summary
It would be nice to support excluding Pages from the sitemap by model-attributes.
Why is it needed?
For example: We have a model "TeamMember" which has a boolean attribute
hasProfilePage. The frontend can only show the profile page of this person, if this value is true. The sitemap unfortunately contains all members with their slugs, which leads to 404 errors ifhasProfilePageisfalseSuggested solution(s)
In the Sitemap url bundles popup, add an area for building conditions for in- or excluding pages based on model attributes.
Related issue(s)/PR(s)
I think this would be solved by pluginpal/strapi-plugin-sitemap#109