Hello,
Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.
If Rank Math doesn’t create a sitemap file or if you are getting a 404 error while trying to access your sitemap index, you may have to flush permalinks. Don’t be scared, it is fairly easy to do.
Simply head over to your WordPress admin area and go to Settings > Permalinks and hit the “Save Changes” button once even if you didn’t make any changes on the page.
This should fix the issue.
Looking forward to helping you. Thank you.
sir i did but it didn’t happen
Hello,
Can you 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/
That should fix the issue. Please let me know if that does not. We are here to assist.
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.