The Economics of Open-Sourcing Premium WordPress Plugins
When you sell a WordPress plugin, you have to decide which license to use and how to earn money when customers can…
When your WordPress site’s Yoast SEO sitemap looks wrong, check whether Yoast has sitemap generation turned on, whether the sitemap URLs load, and whether the missing content qualifies to appear. A sitemap is an XML file that lists URLs for search engines to find. Yoast’s sitemap index is a directory that links to separate sitemaps for posts, pages, and taxonomies, which are groups of content such as categories and tags.
Yoast settings, a page’s search visibility, WordPress permalink rules, a cache, or the web server can all break or alter a sitemap. Before you ask for help, note which URL fails, check the related settings and output, and record what you tested. Those notes help support staff figure out whether Yoast, WordPress, another plugin, your theme, or your hosting provider is causing the issue.
In WordPress, open Yoast SEO → Settings → Site features and look under Technical SEO. Confirm that XML sitemaps are turned on, then select View the XML sitemap. Yoast marks the enabled state with a purple checkmark. The Yoast sitemap instructions cover this setting and how to open the index.
The standard index URL ends in /sitemap_index.xml. Check whether it loads, then open the individual sitemaps it links to. Note whether the index itself fails or only one child sitemap fails, because each failure points to a different part of the output. Yoast builds the index and its sitemaps dynamically and updates them as your content changes, so you should not need to rebuild them by hand during normal upkeep.
If the index lists an unexpected set of sitemaps, check your visibility settings under Yoast SEO → Settings. Use the Content types, Categories & tags, and Advanced sections to control what appears in search results and in the sitemap. For each content type, the “Show [type] in search results?” toggle tells Yoast whether to include it. Save your changes once you finish. Yoast explains these options in its guide on how Yoast customizes the sitemap index.
When a page is missing from your sitemap, Yoast may be excluding it on purpose rather than failing to generate it. Yoast excludes content marked noindex, which is the setting that tells search engines to keep a page out of search results. Open the Advanced tab in the Yoast metabox or sidebar on that page to see whether search engines can show it. Check the sitewide setting for the page’s content type or taxonomy, such as a category or tag, as well.
Next, check the page’s canonical URL, which tells search engines which URL to treat as the preferred version. If the canonical URL points somewhere else, or if Yoast SEO Premium redirects the page, Yoast may leave it out of the sitemap. If you are looking for a page in a News sitemap, check its publication date. Yoast notes that a News sitemap only includes pages published within the past 48 hours. That 48-hour window applies only to the News sitemap, while regular post and page sitemaps keep older entries. You can review these causes in Yoast’s common sitemap errors guidance.
If your browser displays raw XML instead of a formatted table, the sitemap is not necessarily broken. Search engines read the raw XML data directly, while browser styling only makes the file easier for people to read. Yoast’s common-errors page recommends Yoast SEO 28.9 or later for CSS-based display in supported browsers. Raw XML on its own does not point to a failure.
When Google Search Console reports a problem, copy the exact message and the sitemap URL it names. Google’s Sitemaps report shows when Google last read a sitemap, whether it hit any processing errors, and how many URLs it found. Keep in mind that you only give Google a hint when you submit a sitemap; Google does not guarantee that it will crawl or index every listed URL. A clean sitemap report therefore does not mean Google has indexed every page. Google’s sitemap guidance also caps each sitemap at 50 MB uncompressed or 50,000 URLs.
If Search Console says a crawler cannot reach a URL, check your site’s robots.txt file, which holds the rules that tell crawlers what they can access. Even when that file includes a sitemap directive pointing crawlers to your sitemap index, another rule in the same file can still block sitemap URLs. Yoast covers how this file works in its guide to editing robots.txt.
When a sitemap URL returns a 404 error or fails to load, open WordPress Settings → Permalinks and click Save Changes without altering your permalink structure. WordPress flushes and rebuilds its rewrite rules when you save that screen. If you change the permalink structure while troubleshooting, WordPress will change your site’s URLs and create a new problem. WordPress explains this screen in its Permalinks documentation.
Your server’s rewrite rules make the readable sitemap URL work by routing requests like /sitemap_index.xml to the code that builds the sitemap. On an NGINX server, compare /sitemap_index.xml with Yoast’s query-string URL, /?sitemap=1. If /?sitemap=1 loads while /sitemap_index.xml fails, the server’s rewrite configuration is at fault. Ask your host or server administrator to check the rules, and avoid editing server settings yourself if you are not sure what they do. Yoast shares the details in its NGINX-specific sitemap guidance.
If the sitemap loads but shows outdated content, check every layer that might cache it. A caching plugin, a built-in cache in your theme or another plugin, or a server-side cache at your host can all serve a stale copy. Check which URLs your cache excludes, inspect the response headers, and ask your host whether a server-side cache is running. When you need to force a refresh, Yoast recommends turning off the XML sitemap feature, clearing the relevant cache, and turning the feature back on. Its sitemap update troubleshooting page walks through these steps and common caching issues.
Because Yoast generates sitemaps dynamically, a physical file sitting at the same path on your server can block them. If an error names a conflicting file, write down its path before you change anything. Yoast gives you two choices: you can delete the physical file so Yoast can take over, or you can turn off Yoast’s sitemap feature and keep using that file. Ask your host for help before you delete server files if you are not sure what they contain. Yoast explains this in its guide on a file blocking XML sitemaps.
If settings, URLs, and caching do not explain the issue, check whether another plugin or your active theme conflicts with Yoast. Yoast recommends that you back up your site, update WordPress, your theme, and your plugins, and then try to reproduce the problem with all plugins turned off and a default theme active. Turn Yoast SEO back on by itself first, then reactivate your other plugins and theme one by one until the problem comes back. On a live site, you can run this test in Health Check & Troubleshooting mode or on a staging site. Yoast’s conflict-check instructions cover the full procedure. If you only turn off Yoast, you have not completed a conflict test.
Before you open a support thread, write down the details a support person needs to reproduce the issue and pinpoint its cause:
noindex, canonical, redirect, and News sitemap status.Yoast’s support instructions send users of the free plugin to the WordPress.org support forums. There, Yoast asks you to include your site link, a description of the issue, what you expected to happen, any error messages, the steps to reproduce the problem, and screenshots. If you have an eligible paid product, you can use the support options on Yoast’s support page. Never post passwords, private admin links, or other secrets in a public forum.
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