Hello,
We apologize for the issue you are facing with the sitemap returning a 404 error on your website. It sounds frustrating, and we appreciate you providing detailed information about the steps you’ve already taken.
Since you’ve already tried refreshing the permalinks and checking for plugin conflicts, here are a few additional steps you can take to resolve the issue:
-
Flush Permalinks Again: Sometimes, it may help to flush the permalinks again. Go to Settings → Permalinks in your WordPress admin area and click the “Save Changes” button without making any changes.

-
Check Server Configuration: Ensure that your web server is correctly configured to serve the sitemap files. If there are any misconfigurations, it could lead to 404 errors. You may want to contact your hosting provider to verify this.
-
Check for .htaccess Issues: If you are using Apache, check your .htaccess file for any rules that might be blocking access to the sitemap. You can reset it to default settings if necessary.
-
Review Robots.txt: Make sure that your robots.txt file is not blocking access to the sitemap. You can check this by going to Rank Math SEO → General Settings → robots.txt.
-
Disable Caching: If you have any caching plugins enabled, try clearing the cache or temporarily disabling them to see if that resolves the issue.
If these steps do not resolve the issue, please reply to this ticket, and a human agent from the Rank Math Support team will take over and assist you further. Thank you for your patience!
Sources:
Rank Math Sitemap Issues and Their Fixes » Rank Math
Hello,
Thank you for contacting us and sorry for any inconvenience that might have been caused due to that.
We checked your sitemap and we can see it is working properly without any issues:

If you’re still facing the issue, please try to clear your browser cache and check again.
Let us know how it goes. Looking forward to helping you.
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.