News Site Map is not refreshing

#409466
  • Resolved Nicolai Hackbart
    Rank Math free

    Hi i activated the Google News Sitemap a couple of weeks ago. But i register, that the sitemap is not always refreshing, when there is a new article published on our site.

    Thats the link to our Sitemap: https://goodnews-magazin.de/news-sitemap.xml

    For example is the last linked article in the sitemap with publishing date 2022-06-18 12:30:00 +02:00. But we are publishing nearly every day a new article.

    Do we change something in the settings?

    Regards
    Nicolai

Viewing 3 replies - 1 through 3 (of 3 total)
  • Prabhat
    Rank Math agency

    Hello,

    Thank you for contacting the support.

    Please follow the below steps and see if that helps:
    1. Flush the Sitemap cache by following this video screencast:
    https://i.rankmath.com/pipRDp

    2. Exclude the Sitemap files of the Rank Math plugin in your caching plugin. The cache could be via a plugin or from the server. For plugins or Cloudflare, please follow this article:
    https://rankmath.com/kb/exclude-sitemaps-from-caching/

    3. Clear your website’s cache and remove all the sitemaps from your Google Search Console account, and then submit only the main sitemap: /sitemap_index.xml

    Here’s a guide with more details: https://rankmath.com/kb/submit-sitemap-to-google/

    Hope this helps.

    Thank you.

    Hi, thank you for these instructions. We followed every step and tested it the last days, but the auto refreshing of the News Sitemap is still not working. The only thing that works immediately is flushing the “sitemap cache” as you described in step 1. After flushing, the sitemap shows the newest articles, but the next day it is outdated again and I have to flush the cache again.
    We are using Cloudflare but for us, it doesn’t look like a caching problem.

    Anas
    Rank Math business

    Hello,

    Please add this filter to your website:

    add_filter( 'rank_math/sitemap/enable_caching', '__return_false');
    

    Here is a guide you can follow to add the filter:
    https://rankmath.com/kb/wordpress-hooks-actions-filters/

    Then, clear your website cache and check the sitemap.

    Let us know how it goes.

    We are here to assist you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

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

The ticket ‘News Site Map is not refreshing’ is closed to new replies.