-
hello.
I will send you a link to two photos to prove to you that your sitemap has a problem. In the first photo, the number of posts and in the second photo, the number of posts on the sitemap. You can see that there are no 3 new posts on the map. New posts are not shown on the map.Link1
Link2- This topic was modified 4 years, 4 months ago by Michael Davis.
- This topic was modified 4 years, 4 months ago by Michael Davis.
-
Hello,
Thank you for contacting Rank Math today.
The sitemap updates correctly and the issue seems to be coming from your end. Here is a guide to follow:
1. I am assuming you have already gone through excluding your sitemap from caching and resaved your permalinks & sitemap settings as advised in your previous ticket.2. Please check the posts not being included in the sitemap to ensure they are not set to noindex in Rank math meta box under the Advanced tab. You can also test your post here for the noindex tag: https://smallseotools.com/meta-tags-analyzer/
3. Ensure you have not added a canonical URL manually to the post, still in Rank math meta box under the Advanced tab. If a canonical URL is used in Rank Math for a post, it will not be included in the sitemap because Rank Math will assume that your post is not the original source of content which is what you are telling Rank Math by entering a canonical URL manually.
Looking forward to helping you. Thank you.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
Hello,
I accessed your site and it seems your sitemap was being cached by WP Rocket. I added
(.*)sitemap(.*)
in WP rocket advanced rules to exclude your sitemap URLs from being cached. Then resaved your sitemap settings which seems to have fixed the issue. If you check the screenshots in the sensitive section, your have 306 published posts of which one is set to noindex. The rest 305 are successfully added in the sensitive section.Hope that helps. If you have any further question(s), please let us know. Thank you.
But I have 312 posts published now, but there are 307 posts on the site map !!!
Hello,
You seem to also have LiteSpeed installed in your server (a cache system) and it is caching your sitemaps (I have checked it and it seems the current cached sitemap expires tomorrow). You should also exclude them in LiteSpeed (or ask your hosting support to do it for you).
Looking forward to help you.
You did not understand what I meant. I used the yoast sitemap plugin and the posts were quickly displayed on the sitemap. This is a problem with your plugin, not my site.
Hello,
Yes, it was displayed in Yoast immediately because it doesn’t use a cache to speed the sitemaps, it depends on the one you have in your site. But Rank Math has its own cache system for the sitemaps so if you have a cache system and you don’t exclude the caching of the sitemaps, you will have it double-cached, causing your issue.
That is why I suggested that solution.
Looking forward to help you.
I called my host. They said the cache was not active
Hello,
I can’t seem to replicate the issue on your site. I created two test posts and they seem to be added to the sitemap immediately they are published, please check the new screencast I have added in the sensitive section.
Looking forward to helping you. Thank you.
I have published 353 posts now, but there are 335 posts on the sitemap. This is a problem with your plugin
I realized the problem. If I publish the post manually, the sitemap will be updated, but if the post is published by WP Automatic plugin, the map will not be updated. This problem did not exist in the yoast plugin. Please fix the problem.
Hello,
When you publish or an update a post manually, we flush the Sitemap cache.
If you want, you can disable the sitemap cache in Rank Math to get around the issue.
You can use this filter for that:
https://rankmath.com/kb/filters-hooks-api-developer/#enable-disable-sitemap-cache
Hope that helps.
If the post is sent by the wp automatic plugin, the sitemap will not be updated. This problem did not exist in the yoast plugin.
Hello,
Did you disable the cache like we mentioned?
If that doesn’t work, we might need to take a closer look at the settings. Please include your WP logins in the designated Sensitive Data section.
It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:
https://wordpress.org/plugins/temporary-login-without-password/You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):
https://wordpress.org/plugins/wp-security-audit-log/We really look forward to helping you.
Please explain more simply and accurately how I disable the cache.
The ticket ‘site map’ is closed to new replies.