Documentation → Administrator Guides

Troubleshooting Guide

Common issues and solutions for Developer Sitemap.

Sitemap Returns 404 Error

If /sitemap.xml returns a “Page not found” error:

Solution 1: Flush Permalinks

  1. Go to Settings → Permalinks
  2. Click Save Changes (no changes needed)
  3. Try accessing the sitemap again

Solution 2: Check Sitemap Status

  1. Go to Sitemap → Settings
  2. Ensure Enable Sitemap is checked
  3. Click Save Settings

Solution 3: Check .htaccess

If using Apache, ensure your .htaccess has proper WordPress rewrite rules.


Sitemap Shows No URLs

If the sitemap loads but contains zero URLs:

CheckAction
No published contentPublish at least one post or page
Content types disabledEnable types in Sitemap → Settings
All content excludedReview exclusions in Sitemap → Advanced

Specific Content Not Appearing

Posts or Pages Missing

IssueSolution
Content is draftPublish the content
Content is privateChange visibility to public
Content is excludedRemove from Sitemap → Advanced exclusions
Post type disabledEnable in Sitemap → Settings

Products Missing (WooCommerce)

IssueSolution
Products disabledEnable in Sitemap → Settings
Hidden visibilityChange catalog visibility to “Shop and search”
Out of stock hiddenCheck WooCommerce visibility settings
Product excludedRemove from exclusion list

Changes Not Reflecting

If recent changes aren’t appearing in the sitemap:

Manual Regeneration

  1. Go to Sitemap → Dashboard
  2. Click Regenerate Sitemap

Clear External Caches

If you use page caching plugins or CDNs, clear those caches as well.


XML Validation Errors

If search engines report XML errors:

ErrorCauseSolution
Invalid charactersSpecial characters in titlesPlugin auto-escapes; regenerate sitemap
Malformed XMLPlugin conflictCheck for conflicting plugins
Empty responsePHP errorEnable WP_DEBUG and check logs

Validate your sitemap at: XML Sitemap Validator


Performance Issues

Slow Sitemap Generation

IssueSolution
Large site (50k+ pages)Reduce Items Per Sitemap in Advanced
Cache disabledEnable caching in Settings
Low PHP memoryIncrease memory_limit in php.ini

Timeout Errors

If sitemap generation times out:

  • Lower the Items Per Sitemap value
  • Increase PHP max_execution_time
  • Contact your hosting provider

Plugin Conflicts

Developer Sitemap may conflict with other sitemap plugins:

Common Conflicts

  • Yoast SEO (has built-in sitemap)
  • Rank Math (has built-in sitemap)
  • All in One SEO (has built-in sitemap)
  • Google XML Sitemaps
  • WordPress Core Sitemap (WP 5.5+)

Resolution

Disable the sitemap feature in other plugins, or disable Developer Sitemap if you prefer another solution.

Note: Developer Sitemap is designed to coexist with WordPress core sitemaps by default. Only disable one if you notice conflicts.