Hello,
We apologize for the issue you are facing with your sitemap showing old dates. It seems that the sitemap is not updating correctly, which can happen due to various reasons, including caching or incorrect settings.
Here are a few steps you can take to troubleshoot this issue:
-
Flush Sitemap Settings: Go to Rank Math SEO → Sitemap Settings in your WordPress admin area. Make any minor changes to the Links Per Sitemap count and then click the Save Changes button. This action can help refresh the sitemap generation.

-
Check for Custom Canonicals: If you have set custom canonical URLs for your posts, they may not appear in the sitemap. Ensure that you are using Rank Math’s default canonical settings for all posts.
-
Plugin Conflicts: Sometimes, other plugins can interfere with Rank Math’s functionality. You can use the Health Check plugin to check for any conflicts.
-
Server Configuration: Since you mentioned that you’ve checked the Nginx rewrite rules, ensure that they are correctly implemented as per the guidelines provided in our documentation. Here’s a reminder of the rewrite rules:
# START Nginx Rewrites for Rank Math Sitemaps
rewrite ^/sitemap_index.xml$ /index.php?sitemap=1 last;
rewrite ^/([^/]+?)-sitemap([0-9]+)?.xml$ /index.php?sitemap=$1&sitemap_n=$2 last;
rewrite ^/([a-z]+)?-sitemap.xsl$ /index.php?xsl=$1 last;
# END Nginx Rewrites for Rank Math Sitemaps
If you have tried all these steps and the issue persists, please reply to this ticket with any additional details or errors you might be encountering, and a human agent from our support team will assist you further.
Thank you for bringing this concern to our attention!
Sources:
Rank Math Sitemap Issues and Their Fixes » Rank Math
I have done all you sugeesteed
Hello,
It looks like all the posts and pages on your website were published in 2020. If you published any posts or pages after 2020 but not showing in the sitemap, please share the URL with us so that we can check the issue further for you.
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.