Core Sitemap or Plugin Sitemap
Check if WordPress or an SEO plugin manages the sitemap. Do not activate a second generator before the existing jurisdiction is clarified.
Using robots.txt and the delivered XML file, determine the active sitemap producer. WordPress Core and SEO plugins can select different content and taxonomies. Exclusions belong in this source and not in a downloaded XML copy.
How to fix the issue in WordPress
- Go to /wp-sitemap.xml if the core sitemap is used. With an SEO plugin, you determine its sitemap index via robots.txt instead. Check whether the affected content is published and contained in the selected content type or taxonomy.
- Enable the system's sitemap provider and include the intended public page types. Reference the reachable sitemap index in robots.txt rather than creating an empty placeholder file.
Start with one affected page or template. Check its output before applying the correction to other pages.
Example of this specific finding
Illustrative control case: A shop has many new products, but no well-maintained sitemap endpoint. A one-time URL export would become obsolete after the next import.
follow-up audit in WordPress
Review a published paper, a draft and a relevant taxonomy. After a change, retrieve the sitemap index and the affected partial sitemap without logged in session.
Provide a regularly generated selection of final public URLs. Check new, removed and excluded products after a normal data update.
How to verify that the fix worked
The index and its referenced sitemaps return valid XML. Sample the homepage, a detail page and a language variant for appropriate public URLs.
Check a sitemap and its URLs: Check whether the published sitemap URLs are accessible and match the pages you want indexed.
Derogations and scope
A small, well-linked website can be found without a sitemap. A sitemap does not replace meaningful internal navigation.
Related: WordPress with classic or block theme. SEO plugins and page builders are different; there is no universal menu path for all installations.
Classify the general error
Definition, system-independent causes and further correction examples: Use a reliable URL source instead of any export