Hello,
I apologize for the issue you are facing with your htaccess file and sitemap. To ensure that your sitemap can be crawled properly, you may need to add specific rewrite rules to your htaccess file. Here’s what you can do:
-
Check if your sitemap loads: First, visit `https://rankmath.com/wp-content/uploads/2021/01/edit-.htaccess-file.jpg. If this loads your sitemap, then you need to add the following rewrite rules 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
-
Edit your .htaccess file: You can edit your .htaccess file by going to Rank Math SEO → General Settings → Edit .htaccess. If this section is not available, ensure that you’ve switched to the Advanced Mode in Rank Math.

-
Save Changes: After adding the rules, make sure to save the changes and check if the sitemap is now accessible.
If you continue to experience issues, please reply to this ticket with any error messages or additional details, and a human agent from the Rank Math Support team will assist you further.
Thank you for raising this concern!
Sources:
Rank Math Sitemap Issues and Their Fixes » Rank Math
How to Edit Your htaccess File Using Rank Math » Rank Math
This is an automated reply from Rank Math Support Bot. If you need further assistance, please reply to this topic and a human support agent will reply to you shortly.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.