Hello,
I’m sorry to hear about the sitemap 404 issue you are facing with Rank Math on your website. To address this problem, you can follow these steps:
-
Make sure you submitted the correct XML sitemap to Google. You should submit the sitemap available on your website at https://rankmath.com/wp-content/uploads/2023/06/Enable-Rank-Math-404-Monitor-module.png.
-
Check for any unintended rules in your robots.txt file that might be blocking the sitemap. You can do this by going to Rank Math SEO → General Settings → robots.txt.
-
If you are running W3 Total Cache along with Rank Math, create another user agent group and add the ‘googlebot’ user agent to it as mentioned here.
If these solutions don’t resolve the issue, you can include a filter in your theme’s functions.php or rank-math.php file:
add_filter( 'rank_math/sitemap/enable_caching', '__return_false');
If you need further assistance, feel free to reach out to our support team. We are available 24×7 and happy to help you with any issues you might face.
Thank you for bringing this concern to our attention.
Sources:
How to Fix 404 Errors with Rank Math SEO Plugin
How to Fix the Submitted URL Seems to Be a “Soft 404” Error » Rank Math
Rank Math Sitemap Issues and Their Fixes » Rank Math
How to Find Out Where 404 Errors Are Coming From » Rank Math
Hello,
Thank you for contacting us and sorry for any inconvenience that might have been caused due to that.
We checked your sitemap and we can see it is working properly without any issues. In this case, please try to follow the steps below and see if that works for you.
1. Flush the Sitemap cache by following this video screencast:
https://i.rankmath.com/pipRDp
2. Exclude the Sitemap files of the Rank Math plugin in your caching plugin. The cache could be via a plugin or from the server. For plugins or Cloudflare, please follow this article:
https://rankmath.com/kb/exclude-sitemaps-from-caching/
Once done, clear your website cache, remove all the submitted sitemap, and resubmit only the /sitemap_index.xml
in the Search Console.
Let us know how it goes. Looking forward to helping you.
Thank you.
Hey Rakibuzzaman Siam,
I checked the GSC sitemap this morning and found that the error has been resolved. Thank you for the support.
Hi Carlous,
We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.
If it isn’t too much to ask for – would you mind leaving us a review here?
https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post
https://www.trustpilot.com/evaluate/www.rankmath.com
It only takes a few minutes but makes a huge difference.
It would mean so much to us and would go a really long way.
Thank you.