Hello, I’m sorry to hear that you’re facing issues with the sitemap on your website. Thank you for reaching out for assistance.
To help you fix the sitemap error, we can start by validating your sitemap to ensure it is correctly configured. You can use the Validate XML Sitemap tool by entering your sitemap URL and clicking VALIDATE SITEMAP as shown in the example below:

If your sitemap is correctly configured, the tool will return a success message like this:

If the issue persists, you can also ensure that your posts are set to index in Rank Math SEO settings by enabling the Index checkbox in Rank Math SEO → Titles & Meta and then clicking Save Changes.
If these steps do not resolve the issue, please reply to this ticket, and a human agent from our support team will assist you further. Thank you for your patience and cooperation.
Sources:
Troubleshooting the “Couldn’t Fetch” Error in Google Search Console » Rank Math
Rank Math Sitemap Issues and Their Fixes » Rank Math
How to Fix “Incorrect HTTP Header Content-Type” Error in Sitemaps » Rank Math
How to Configure Sitemaps in Rank Math – Best Settings and Tips
Hello,
Thank you for your patience.
We’ve checked your site, and it is redirecting to your homepage.
In this case, please follow these steps to flush your sitemap cache:
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/
3. Disable the transient cache for the sitemap by applying this filter. This will make sure that your XML sitemap always reflects the latest changes on your site:
/**
* Filter if XML sitemap transient cache is enabled.
*
* @param boolean $unsigned Enable cache or not, defaults to true
*/
add_filter( 'rank_math/sitemap/enable_caching', '__return_false');
If you’re not sure how to add this code, you can follow this guide:
https://rankmath.com/kb/wordpress-hooks-actions-filters/
Let us know how this goes.
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.