Hello,
We apologize for the issue you are facing with your Sitemap not working. To help you resolve this, we recommend checking a few common issues:
-
Check if the Sitemap is accessible: Go to https://rankmath.com/kb/check-plugin-conflicts/ (replace
yourdomain.com` with your actual domain). If it loads your sitemap, then the issue may be related to server configurations.
-
Server Configuration: Depending on your server type (Apache or Nginx), you may need to add specific rewrite rules:
- For Apache, add the following 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
- For Nginx, add the following to your Nginx config file:
# START Nginx Rewrites for Rank Math Sitemaps
rewrite ^/sitemap_index.xml$ /index.php?sitemap=1 last;
rewrite ^/([^/]+?)-sitemap([0-9]+)?.xml$ /index.php?sitemap=$1&sitemap_n=$2 last;
rewrite ^/([a-z]+)?-sitemap.xsl$ /index.php?xsl=$1 last;
# END Nginx Rewrites for Rank Math Sitemaps
-
Flush Permalinks: Sometimes, simply going to the Permalinks settings in your WordPress dashboard and clicking Save Changes can resolve 404 errors.
If you continue to experience issues, please reply to this ticket with your site URL so that we can assist you further. Additionally, if you would like comprehensive assistance, consider our professional setup service available at Rank Math Services, which requires a PRO subscription.
Thank you for raising this concern! We’re here to help you get it sorted out.
Sources:
Rank Math Sitemap Issues and Their Fixes » Rank Math
Hello,
Thank you for contacting Rank Math today.
Unfortunately, we do not offer support via live chat or zoom. We only offer support through our forums.
Feel free to ask us any questions here and our support is more than happy to assist you.
Could you please share the affected URL so we can check as well?
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.