How Yoast Sitemap Settings Relate to Noindex Tags
On a WordPress site, Yoast controls which URLs appear in its XML sitemap and whether pages should appear in search results. An…
When you install a WordPress plugin, it can change Yoast’s sitemap by adding a kind of content that WordPress makes public, creating a separate sitemap, or adding a link to that sitemap in Yoast’s index. A sitemap index is a directory of sitemap files; each child sitemap lists URLs for a particular kind of content. A new entry does not automatically indicate a problem. Compare the output before and after installation, then determine whether each change matches the site’s content and configuration.
Start with the index Yoast opens from its View the XML sitemap control. First check its child sitemap links. Then inspect files that changed and confirm which plugin or code path generates each response. Yoast’s XML sitemap documentation identifies the normal index route and where to find the setting.
Open the index from Yoast SEO → Settings → Site features → Technical SEO → XML sitemaps and record its URL. Compare its entries with a snapshot from before the plugin was installed, if one exists. Yoast’s sitemap index guidance describes common entries such as posts, pages, authors, categories, and tags.
For each new or missing entry, ask what content it represents. When a plugin registers a public custom post type, such as products or locations, Yoast can include a corresponding sitemap if that content type is set to appear in search results. Check the new plugin’s settings and Yoast’s content type settings before treating that addition as an error.
Open each loc address to reach its child sitemap. Confirm that the file loads and returns sitemap XML; an error page or unrelated HTML fails this check. Check that its URLs use the site’s intended host and protocol, such as HTTPS and the preferred www or non-www version. Yoast says its sitemap URLs use the WordPress Site URL, so a host or protocol change warrants checking that configuration and the site’s canonical URL choices. Its sitemap error guidance covers common availability and URL issues.
An index can look correct while a child sitemap contains the wrong pages. Inspect sample files to see whether they contain the right type of content and use each page’s canonical URL, the address chosen as its preferred version. Yoast’s functional specification says to exclude pages marked noindex, private or password-protected pages, and pages with a different canonical URL set manually. The specification also makes lastmod optional. When it appears in the index, it should show the latest modification time among the child sitemap’s entries. An empty child file or missing lastmod is a reason to check the details, not proof of a failure.
For large sitemaps, check which limits apply. Yoast sets a default limit of 1,000 entries per child file, and a filter can change that limit. The Sitemap protocol allows up to 50,000 URLs and 50 MB in one sitemap file. Check how the site splits URLs across files against its configuration instead of assuming Yoast’s default always applies.
Use sitemap URL paths as clues, then check them against the settings and what each URL returns. Yoast normally uses /sitemap_index.xml; WordPress core uses /wp-sitemap.xml. Yoast’s support guidance says /sitemap.xml is not a Yoast-generated route. Redirects and custom rewrites can change what a URL serves. Integrations and caching can do the same, so the path alone does not establish ownership.
First confirm that Yoast’s XML sitemap feature is enabled and open the index through Yoast’s own control. Then check the new plugin’s settings and documentation for an independent sitemap feature or an integration with Yoast. Also check whether it registers public post types or WordPress taxonomies, such as categories and tags, that Yoast is set to include.
When you trace a change, check whether the plugin generates a sitemap file, adds a link to Yoast’s index, or changes the content of Yoast’s sitemap. Yoast documents the wpseo_sitemap_index filter for adding external sitemap entries to its index, along with filters for changing sitemap content. In that setup, Yoast can list a file generated by another plugin without generating that file itself. The Yoast sitemap API documentation describes these integration points.
If the settings and documentation do not show who supplies the sitemap, compare responses in a troubleshooting environment, such as a staging site or a test copy of the live site. Capture the sitemap with the new plugin active. Then disable that plugin, refresh relevant caches, and compare the same URLs. Yoast recommends controlled plugin conflict checks. A change during the test is useful evidence, but it does not prove the plugin directly generated the file: the plugin may have supplied content that Yoast then included, or a cache may have served an older response.
Include must-use plugins, theme or child-theme code, custom code, server rewrite rules, and caching layers in the investigation when ordinary plugin settings do not explain the response. No single route, stylesheet, or label conclusively identifies the generator on every customized WordPress site.
Compare the same index and sample child files under the same conditions. Record additions, removals, URL changes, and response errors. Classify each difference as expected and documented, intentional but unverified, or unexplained and requiring investigation.
Investigate these signs in particular:
For stale output, check the plugin and host caches first. Then check server and CDN caches before attributing the result to the new plugin. Yoast identifies caching as a cause of sitemap output failing to update in its sitemap update troubleshooting. If XML parsing fails, inspect the raw response: Yoast notes that a plugin or theme can introduce extra whitespace that breaks XML parsing in its XML declaration error guidance.
Investigate when more than one source lists the same URLs, but the overlap alone does not show that anything is wrong. Yoast says it disables WordPress’s default sitemap while Yoast’s sitemap feature is enabled, and its API supports linking external sitemaps from the Yoast index. A separate plugin sitemap might serve a distinct purpose or duplicate Yoast output. Check what each file contains and document which source should supply each content group.
Give Vroni a GitHub issue, bug report, spec, or rough idea. It reads the repo, plans the change, writes code, runs checks, and works toward a review-ready pull request.
Take a look at vroni.com