Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When I create my xml sitemap and selected two content types to be included only unpublished content is included in the sitemap. Is this a bug, or have a configured something wrongly?
Comments
Comment #2
Dave ReidComment #3
shreyal999 CreditAttribution: shreyal999 at Srijan | A Material+ Company commentedHave checked the issue with XML sitemap module, have added content for both as unpublished and published content, after rebuilding the sitemap, the sitemap lists only published links for the selected content type. Couldn't reproduce the issue. Can you share some kind of steps to reproduce, if the issue still persist for you.
Comment #4
zanvidmar CreditAttribution: zanvidmar as a volunteer commentedI can confirm that rebuilding sitemap removes unpublished content, so in my case it works as designed. I guess this is not critcal bug at all :)
Comment #5
Dave ReidComment #6
Dave ReidMarking as fixed.