Skip to content

Children pages under an unpublished blog will show up in sitemap #103

@aleclerc7

Description

@aleclerc7

Hello,

If there are still unpublished blog pages, all children pages of that blog will nevertheless be visible in the sitemap.

  • The /blog will not be in the sitemap (unpublished 👍)
  • The /blog/post1 will be visible in the sitemap (because it is not set to unpublished 👎)

It is an unexpected behaviour. Since the parent page is not published, naturally, the dependent child pages should be in the sitemap, even if they are published. (When the parent is published, then the child pages will be accessible.)

The only solution is to manually set all child pages to unpublished.

It would be much easier and feel more natural to stop sitemap crawling at an unpublished parent. Then ignore all child pages.

Kind regards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions