Hello,
Thank you for contacting Rank Math and sorry for any inconvenience caused.
Could you please clear your site cache and then do the following:
1. Head over to WordPress Dashboard > Settings > Permalinks
Hit the save button once.
2. Go to WordPress Dashboard > Rank Math > Sitemap Settings
Hit the save button once.
That should fix the issue.
If it doesn’t, please do let us know so we can look at this further.
I followed your steps, but it didn’t work
Hello,
Thank you for following up.
The common reasons for a post/page not appearing in the sitemap are sometimes caused by the following:
1. Item is set to no-index in Rank Math > Titles & Meta or individually.
2. The sitemap is being cached on your site locally or at the server-level. For this head over to WordPress Dashboard > Settings > Permalinks and hit the save button once. Go to WordPress Dashboard > Rank Math > Sitemap Settings and hit the save button once.
Then exclude your sitemap from being cached by following the steps in this link:
https://rankmath.com/kb/exclude-sitemaps-from-caching/
3. The canonical is set manually in the Advanced Tab. Please make sure that you didn’t set the canonical URL in Rank Math, as its purpose is to let Google know that it is a duplicate page, and not to be indexed.
I hope that helps. Thank you, and looking forward to your update.
I checked all 3 option and they are fine from my side, but still not showing the new post on sitemap
Hello,
Thank you for following up.
I’ve checked your sitemap, and it seems that the post is already showing in your post sitemap
Could you try to clear your web browser’s cache or use a different browser to see the changes?
I hope that helps. Thank you, and looking forward to your update.
Thank you, It took some time to update, but now it’s showing.
Hello,
We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.
If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.
If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.
Thank you.