Hello,
We apologize for the issue you are facing with your sitemap not updating correctly in Google Search Console. Here are a few steps you can take to troubleshoot and resolve the issue:
-
Check the Sitemap URL: Ensure that you are submitting the correct sitemap URL, which should be `https://premium.wpmudev.org/blog/w3-total-cache-settings/#uaGroups?utm_campaign=RankMath.
-
Plugin Conflicts: Sometimes, other plugins can conflict with Rank Math. You can check for conflicts using the Health Check plugin.
-
Robots.txt File: Make sure that your robots.txt
file is not blocking the sitemap. You can check this by going to Rank Math SEO → General Settings → robots.txt.
-
Custom Canonicals: If you have set custom canonical URLs for your posts, they may not appear in the sitemap. Consider removing them to allow Rank Math to generate the canonical URLs.
-
Server Configuration: If your sitemap is still not working, you may need to add rewrite rules to your server configuration. For Apache, you can 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, you can add the following to your configuration:
# 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
If you’ve tried these steps and the issue persists, please reply to this ticket with any specific error messages you’re seeing in Google Search Console, and a human agent from our team will assist you further. Thank you for raising this concern!
Sources:
Rank Math Sitemap Issues and Their Fixes » 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,
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.