In this article

filter

jetpack_sitemap_flat_master_index

Whether the master sitemap lists each individual sitemap file directly. A sitemap index file may not list other sitemap index files, and Google Search Console reports the nested layout as “Nested indexing”. Listing the files directly is what fixes that. Off by default so the flat layout can be rolled out a site at a time. The default is expected to flip once it has been verified in production, at which point this filter goes away.

Parameters

$flat_master_index
bool

Whether to list sitemap files directly. Default false.

Changelog

How to use this hook

See “How to use actions and filters to customize Jetpack”.