News sitemap not updating

#332418
  • Resolved Siddharth Shukla
    Rank Math free

    I am experiencing the problem, my news sitemap is not updating for 5 days now and it is affecting my site traffic. Pls help me

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

    Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for any inconvenience this issue may have caused you.

    Could you please share your news sitemap URL so we can check? You can add it in the sensitive data section.

    Sensitive Data Section

    It is completely secure, and only our support staff has access to that section.

    Also, please check your Google Search Console account for any coverage issues so we can advise accordingly.

    Meanwhile, please note that only the posts/pages published in the last 2 days are included in the News Sitemap as per Google’s News Sitemap Guidelines.

    Looking forward to helping you.

    Thank you.

    Hello,

    Can you please follow these steps?

    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/

    Let us know if that resolves the issue with regard to updating the sitemap.

    Looking forward to helping you on this one.

    Does it work, when you delete xml files in /wp-content/uploads/rank-math/ directory?

    Hello,

    The XML file about Rank Math in the uploads folder are only cache files for the sitemap and if you add the filter to remove the caching of the sitemaps those wouldn’t even show there.

    Here’s the filter we are talking about:

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

    ​​​​​​So, it’s safe to say that you don’t need those XML files unless you would like to cache our sitemap, which is not recommended for most websites.

    You may try using that filter in your theme’s functions.php file and see if that works from your end.

    Hope this helps clarify your doubts.

    Don’t hesitate to get in touch if you have any other questions.

    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 5 replies - 1 through 5 (of 5 total)

The ticket ‘News sitemap not updating’ is closed to new replies.