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.
Hello,
If there are still unpublished blog pages, all children pages of that blog will nevertheless be visible in the sitemap.
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.