Sitemap Does Not Update

Last update: 06 September, 2016

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 some cases, 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.

1
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.
2
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.
3
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.

4
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');

Was this article helpful? ·