Last updated on May 15, 2022.
Rank Math is a really awesome WordPress SEO plugin that I use here on SEOSLY.
Some users of Rank Math report that their Rank Math sitemap returns a 404 page and that Google Search Console couldn’t fetch their Rank Math XML sitemap.
Fortunately, this is not a serious problem and there is a very quick fix to it.
SEO Newsletter from #SEOSLY
How To Fix The Rank Math Sitemap Error
I use Rank Math for my website and I really love this SEO plugin so I did my best to figure out what was happening when my XML sitemap (check my article on how to find the XML sitemap of a website) kept returning a 404 error.
The problem has to do with permalinks. Here is how to fix it:
- Log in to the WordPress dashboard.
- Navigate to Settings > Permalinks.
- Scroll down to the bottom and click Save Changes. Don’t make changes to the settings. Just click Save Changes.
This will flush the permalink setting and fix your sitemap problem. Here are the screenshots if you are unsure what settings I’m talking about.
Your Rank Math XML sitemap is probably working OK now.
💡 TIP: I am able to monitor, measure, and improve the SEO visibility of the SEOSLY blog thanks to Semrush, an indispensable all-in-one SEO tool for every SEO specialist.
Check & Resubmit Your Sitemap In Google Search Console
Now go to your XML sitemap to make sure that it’s working.
Just type yourdomain.com/sitemap.xml and Rank Math should automatically redirect to yourdomain.com/sitemap_index.xml.
The sitemap index contains the XML sitemaps depending on your settings. Here is how my sitemap index looks like.
If everything is OK, go to Google Search Console and do the following:
- Navigate to Index > Sitemaps.
- Remove the maps which Google couldn’t fetch buy going to the map and then clicking Remove sitemap.
- Paste the URL of your sitemap index and individual XML sitemaps under Add a new sitemap and hit SUBMIT.
- The status should now be green and say Success.
Hope this helped! If you are experiencing other issues with Rank Math sitemap, check other possible sitemap issues and fixes.
GET ACCESS TO PREMIUM SEO CONTENT
Members of SEOSLY Pro get access to Olga’s SEO audit video guide where she documents her 500+ step SEO audit process, Olga’s mini video SEO audits, SEO audit templates, pro SEO auditing tips, and much more!
Join SEOSLY Pro to become a technical SEO expert in no time.