Hello Craig,
I apologize for the inconvenience you are facing with your news sitemap. The news sitemap in Rank Math is designed to update automatically with new posts as soon as they are published. However, please note that only the posts/pages published in the last 2 days are included in the news sitemap, as per Google’s guidelines.
Since you mentioned that you have published 3 posts today and they are not showing up in the news sitemap, it might be due to the 2-day limitation. Posts older than 2 days are automatically removed from the news sitemap.
To ensure that everything is set up correctly, please double-check your settings and confirm that the news post type is enabled for the posts you want to appear in the news sitemap.
If you have confirmed the settings and the posts are still not appearing in the news sitemap after 2 days, please reply to this ticket, and a human agent from our support team will assist you further.
Thank you for bringing this to our attention.
Best regards.
Sources:
Working With the News Sitemap in Rank Math » Rank Math
I have just checked, and they were still not on the sitemap.
I went to the sitemap settings, updated the ‘Links per sitemap’ value by one, and it has now added them. Can it not add these automatically?
Hello,
Thank you for your query and we are so sorry about the trouble this must have caused.
Please follow the steps below:
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. Apply the following filter code to your site.
add_filter( 'rank_math/sitemap/enable_caching', '__return_false');
Here’s how you can add filter to your WordPress site:https://rankmath.com/kb/wordpress-hooks-actions-filters/
Let us know how that goes. Looking forward to helping you.
Hello,
It seems like your sitemap was cached and that’s why you were facing this issue. In this case, please 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/
If the issue persists, you can use the following filter on your website to disable the transients cache for the Rank Math sitemap:
add_filter( 'rank_math/sitemap/enable_caching', '__return_false');
Here’s how you can add filter/hook to your WordPress site:
https://rankmath.com/kb/wordpress-hooks-actions-filters/
However, the news sitemap is a feature of the Rank Math PRO plugin but the account you have used to open this ticket is the Rank Math free version.
Can you please search and forward a receipt from FastSpring.com so we can locate your account and verify it?
Looking forward to helping you.
Thank 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.