Hello,
I’m sorry to hear that you’re facing issues with your sitemap. If you have already deactivated all plugins, checked the wp-config file, and the functions file without success, there might be a need to add some rewrite rules manually to your server configuration.
Since you mentioned checking for wp-config and functions files, it seems you are using an Apache web server. Please ensure that the necessary rewrite rules are correctly set up in your .htaccess file. You can refer to the following code snippet to add to your .htaccess file:
# START of Rank Math Sitemap Rewrite Rules
RewriteEngine On
RewriteBase /
RewriteRule ^sitemap_index.xml$ /index.php?sitemap=1 [L]
RewriteRule ^([^/]+?)-sitemap([0-9]+)?.xml$ /index.php?sitemap=$1&sitemap_n=$2 [L]
RewriteRule ^([a-z]+)?-?sitemap.xsl$ /index.php?xsl=$1 [L]
# END of Rank Math Sitemap Rewrite Rules
After adding these rules, please check if your sitemap is accessible at `https://rankmath.com/kb/sitemap-404-error/. If it still doesn’t work, you may need to reach out to your server administrator or hosting support for further assistance.
If you need more help or the issue persists, feel free to reply here, and we’ll be glad to assist you further.
Thank you for bringing this to our attention.
Sources:
Rank Math Sitemap Issues and Their Fixes » Rank Math
Why the Sitemap_Index.xml is Throwing a 404 Error » Rank Math
Hello,
We’ve checked your sitemaps, but they seem to be working fine

Please clear your website and browser’s cache for troubleshooting if the issue persists.
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.