Title: Sitemap refresh
Last modified: August 22, 2016

---

# Sitemap refresh

 *  [zaone](https://wordpress.org/support/users/zaone/)
 * (@zaone)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/sitemap-refresh/)
 * Hello, I’m using WordPress SEO and the premium WordPress News SEO for my blog.
   
   Unfortunately the regular SEO sitemap is refreshed just once per day, while the
   news SEO is refreshed every time I publish a new post on my blog. How can I change
   the regular sitemap to refresh every time I publish something, and not just once
   per day. In the sitemap index the plugin states that it is refreshed when I publish
   something, but the articles don’t show up until the next day. [https://www.idevice.ro/sitemap_index.xml](https://www.idevice.ro/sitemap_index.xml)
   Caching is disabled for the sitemap, as the News sitemap is refresed correctly.
 * [https://wordpress.org/plugins/wordpress-seo/](https://wordpress.org/plugins/wordpress-seo/)

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Thread Starter [zaone](https://wordpress.org/support/users/zaone/)
 * (@zaone)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/sitemap-refresh/#post-5574842)
 * Nothing after 3 days… dear God.
 *  Thread Starter [zaone](https://wordpress.org/support/users/zaone/)
 * (@zaone)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/sitemap-refresh/#post-5574902)
 * Anyone?
 *  [Zee](https://wordpress.org/support/users/laserjobs/)
 * (@laserjobs)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/sitemap-refresh/#post-5574903)
 * You can turn off caching on by changing line 305 from true to false
    $caching
   = apply_filters( ‘wpseo_enable_xml_sitemap_transient_caching’, true );
 * to
 * $caching = apply_filters( ‘wpseo_enable_xml_sitemap_transient_caching’, false);
   
   [https://github.com/Yoast/wordpress-seo/blob/trunk/inc/class-sitemaps.php#L305](https://github.com/Yoast/wordpress-seo/blob/trunk/inc/class-sitemaps.php#L305)
 * or you could change the sitemap refresh time on line 325
    [https://github.com/Yoast/wordpress-seo/blob/trunk/inc/class-sitemaps.php#L325](https://github.com/Yoast/wordpress-seo/blob/trunk/inc/class-sitemaps.php#L325)
 *  Thread Starter [zaone](https://wordpress.org/support/users/zaone/)
 * (@zaone)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/sitemap-refresh/#post-5574904)
 * Ok, i’ve done all those, and set the refresh time to MINUTE_IN_SECONDS but the
   sitemap is still unchanged. AS you can see by accessing it, I have almost 20 
   articles since this morning that aren’t displayed there.
 *  [Zee](https://wordpress.org/support/users/laserjobs/)
 * (@laserjobs)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/sitemap-refresh/#post-5574905)
 * Are you using any caching plugin?
 *  Thread Starter [zaone](https://wordpress.org/support/users/zaone/)
 * (@zaone)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/sitemap-refresh/#post-5574906)
 * Yes, but I have excluded the sitemap from them. It’s really strange because the
   google news sitemap is refreshed every time i publish something and it’s integrated
   in the same main sitemap.
    Are there any other caching options to set to false?
   Do I have to deactivate and reactivate the plugin for these changes to take effect?
 *  [Zee](https://wordpress.org/support/users/laserjobs/)
 * (@laserjobs)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/sitemap-refresh/#post-5574908)
 * I think you need to talk to the plugin authors since I am out of ideas.
 *  Thread Starter [zaone](https://wordpress.org/support/users/zaone/)
 * (@zaone)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/sitemap-refresh/#post-5574909)
 * Well I posted this in the support page for the plugin, and I see it was moved.
   Why?
 *  Thread Starter [zaone](https://wordpress.org/support/users/zaone/)
 * (@zaone)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/sitemap-refresh/#post-5574912)
 * Anyone with an idea ?

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Sitemap refresh’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-seo/assets/icon-256x256.gif?rev=3419908)
 * [Yoast SEO - Advanced SEO with real-time guidance and built-in AI](https://wordpress.org/plugins/wordpress-seo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-seo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-seo/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-seo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-seo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-seo/reviews/)

 * 9 replies
 * 2 participants
 * Last reply from: [zaone](https://wordpress.org/support/users/zaone/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/sitemap-refresh/#post-5574912)
 * Status: not resolved