Last updated on July 31, 2021.
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.
⚡ Check my guide on how to find the sitemap of a website in 7 quick and easy ways.
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 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 ands 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.
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.
Did you fix your Rank Math sitemap error? If you did, share this tutorials with other Rank Math users so that they can also get their sitemaps in place.
Do you know any other interesting Rank Math sitemap tips or tricks? Feel free to share them in the comments and I’ll be happy to update this guide.
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.
Olga Zarzeczna is a senior SEO specialist with 8+ years of experience. She has been doing SEO for both the biggest brands in the world and small businesses. She has done more than 150+ SEO audits so far. Olga has completed SEO courses and degrees at universities, such as UC Davis, University of Michigan, and Johns Hopkins University. She also completed Moz Academy! And, of course, has Google certifications. She keeps learning SEO and loves it. Olga is also a Google Product Expert specializing in areas, such as Google Search and Google Webmasters.