Skip to content

[Sitemap] Support excluding sites by condition #258

@boazpoolman

Description

@boazpoolman

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions