Hello,
Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.
1). This issue could be related to your caching plugin, could you please provide an exception for the sitemap file on your caching rules to ensure that the file is not cached? Next, please perform these steps to fix the 404 error:
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.
2). Could you please provide the URL to your site on the sensitive data section so that we can the check the schema issue?
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.