Sitemap Does Not Update

Our plugins create sitemaps on the fly. This means sitemaps are updated automatically when you add, edit, or delete content. Therefore, there is no need to generate or rebuild the sitemaps in most cases. However, if you have modified content or added developer filters, you may need to force an update.

Sometimes the cache functionality on your site prevents the sitemaps from updating automatically. Cache can be handled through a lot of methods so you may not have intentionally added a cache feature but it's there nonetheless.

WordPress Integrated Cache

If you have installed a cache plugin like W3 Total Cache or WP Super Cache, please check your settings and exclude the sitemaps from being cached. Not sure how to do that? Please contact the support team for your cache plugin or visit our guide here for common caching plugins.

Look in your WordPress admin dashboard. Do you see a flush cache button? Some non-cache plugins or WordPress themes include a cache feature. Run a conflict check to locate what plugin or theme feature adds the cache button. If a plugin or theme is not adding cache, some webhosts like GoDaddy and WP Engine include caching on their hosting plans. Please contact the support team for the plugin, theme, or webhost that includes the cache feature.

Server level Cache

Check your HTTP headers for cache related output. Here is a great free tool and below are examples of cached and non-cache domains. If you see the term cache, it is enabled somewhere. If you have not specifically setup this up, please contact your webhost for assistance tracking it down.

Developer code

If there is no outside cache, disable the transient caching by adding this line of code to your theme's functions.php file.

add_filter('wpseo_enable_xml_sitemap_transient_caching', '__return_false');

Manual Sitemap Update

Please disable the sitemap feature, clear cache, and enable the sitemap feature to force the sitemap to rebuild.

Was this article helpful? ·