Hello,
Thank you for contacting Rank Math, and sorry for any inconvenience caused.
Please follow these steps:
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/
If the issue still persists, you can check our guide here on why a URL is not included in your sitemap:
https://rankmath.com/kb/url-not-in-sitemap/
I hope that helps.
Thank you, and looking forward to your update.
but my sitemap is always up to date anyway. Previously there was the main URL, but now it has been removed from the post and pagemaps. Will the method you show return the main URL? I don’t think my problem is the cache. I may have misunderstood myself in the first question. My sitemap works fine. Is it important to have the main URL in the sitemap?
Hello,
It is also necessary for the homepage URL to be seen in the sitemap.
Could you please try to head over to your WordPress Dashboard > Rank Math > Status & Tools > Version Control and try to roll back the plugin version to 1.0.66
?
Head over to your sitemap and check if you are able to see the homepage URL, if you do, then please be informed that we are already checking this issue with our dev team and we should provide a solution shortly.
Looking forward to helping 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.