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.
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 please don’t hesitate to contact us if you need further assistance.
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.