Back to Community

Why Are Pages Missing From Your XML Sitemap? A Troubleshooting Guide

36 threads Sep 17, 2025 PluginXml sitemap generator for google

Content

If you've discovered that your XML sitemap is missing pages, you're not alone. This is a common issue reported by users of the 'XML Sitemap Generator for Google' plugin. A sitemap that doesn't list all your published content can negatively impact how search engines crawl and index your site, often leading to a drop in search visibility.

Based on community reports, here are the most frequent causes and their solutions.

1. The "Links Per Page" Setting

The Problem: Your sitemap shows exactly 100 or 1000 URLs, but you have many more published pages or posts. Search console might report a decreasing number of indexed pages.

The Cause: This is often due to a configuration setting within the plugin. The "Links per page" value dictates the maximum number of URLs listed in a single sitemap file before the plugin should create additional sitemap files. A bug related to a new minimum size implementation has also been known to cause this.

The Solution:

  1. Navigate to the plugin's settings in your WordPress dashboard (usually under Settings > XML Sitemap).
  2. Locate the "Links per page" or similarly named field.
  3. Change the value to a higher number, such as 1000 (which is the new recommended minimum based on search engine guidance).
  4. Save your changes and regenerate your sitemap.

2. Conflicting Sitemap Generators

The Problem: You have multiple sitemap files (e.g., sitemap.xml, sitemap-index.xml) or your sitemap includes strange, unexpected URLs from other plugins (like ACF field groups).

The Cause: Another plugin or your theme might also be generating a sitemap, creating a conflict. The 'XML Sitemap Generator for Google' plugin might be trying to include content types from other plugins that you don't intend to be in your main sitemap.

The Solution: Deactivate other SEO or sitemap plugins to ensure only one sitemap generator is active. Check the plugin's settings to review and deselect any post types or taxonomies you do not want included (e.g., ACF Field Groups, feed post types).

3. Caching Issues

The Problem: New or updated content does not appear in the sitemap, even though it is published. Old, incorrect URLs (like those with dated permalinks) might still be listed.

The Cause: Caching plugins or server-level caching can serve an old, stale version of your sitemap.xml file.

The Solution: Clear all your caching. This includes your caching plugin (e.g., Autoptimize, W3 Total Cache), your server's cache (if applicable), and your CDN's cache (e.g., Cloudflare). After clearing the cache, regenerate the sitemap from the plugin's settings.

4. Incorrect Settings

The Problem: Specific types of content, such as static pages or custom post types, are absent from the sitemap.

The Cause: The corresponding option to include that content type may not be selected in the plugin's configuration.

The Solution: Carefully review the plugin's settings page. Ensure that all relevant checkboxes are selected for the content you want to include, such as "Include static pages", posts, categories, tags, and custom post types.

5. Permalink Structure Changes

The Problem: After changing your site's permalink structure, the sitemap still contains the old URLs.

The Solution: WordPress and the plugin typically handle this automatically, but a manual refresh can help. Go to Settings > Permalinks in your WordPress admin and simply click "Save Changes" without making any modifications. This flushes the rewrite rules and can force the sitemap to regenerate with the new correct URLs.

If you continue to experience issues after trying these steps, it is recommended to check for any error logs in your WordPress dashboard and ensure your plugin is updated to the latest version, as the 'XML Sitemap Generator for Google' team frequently releases updates to address known bugs.

Related Support Threads Support