Page 1 of 1

Pages with noindex in sitemap

Posted: 16 Sep 2022, 07:31
by metallissimus
This page has "noindex, nofollow" set in page > SEO https://hochzeiten.danielbollinger.de/kunden/

I assumed that would also exclude it and its children (which are also set to noindex) from the sitemap, but they are listed: https://hochzeiten.danielbollinger.de/sitemap/

For now I added the /kunden/ directory to the robots.txt but I don't think this is the expected behaviour?

Re: Pages with noindex in sitemap

Posted: 16 Sep 2022, 23:03
by mjau-mjau
Sitemap and "noindex, nofollow" aren't directly related. For example in your /kunden/ page, you still have the "noindex, nofollow" meta tag, so this page will NEVER get indexed by Google, even if it is in some sitemap. The only point of a sitemap, is to make Google aware of pages that it might not otherwise find. Google is already aware of your pages, including those with "noindex, nofollow", but it will simply not index them, as instructed.

You could argue that pages with "noindex, nofollow" should not be listed in sitemap, but it's just a "tag", and the pages won't get indexed in search engines anyway. Sitemaps could be used for other purpose also, for example propagating site content to 3rd parties.

Re: Pages with noindex in sitemap

Posted: 19 Sep 2022, 05:10
by metallissimus
Thanks for clarifiying! Makes total sense.