Hello,
Thank you for contacting the support, and sorry for any inconvenience that might have been caused due to that.
I tried to load your sitemap, and it’s loading fine without any 404 errors at the moment. I also checked it on the sitemap validator tool specifically for the category sitemap:
Please make sure that the sitemap submitted on Google Search Console is the correct one by following this tutorial: https://rankmath.com/kb/submit-sitemap-to-google/
Please let us know how that goes. Looking forward to helping you further.
Thank you
I think you not understand my issue.This is my not first website.Sitemap is valid that’s not issue.First issue is GSC can’t read category-sitemap and other issue is rankmath sitemap giving 404 after 24-30 hours.It means i need to re-setup sitemap everyday.
Hello,
If the sitemap is returning a 404 error after a while it’s a clear indication that something is caching the sitemap on your website.
We would recommend following this tutorial: https://rankmath.com/kb/exclude-sitemaps-from-caching/
On top of that you can also add the following filter:
add_filter( 'rank_math/sitemap/enable_caching', '__return_false');
After that please remove all sitemaps you have on Google Search Console and only add the main one by following this tutorial: https://rankmath.com/kb/submit-sitemap-to-google/
Hope this helps solve your issues.
Don’t hesitate to get in touch if you have any other questions.
i fixed htaccess but still same category-sitemap.xml can’t read by GSC.Can you login my website and check please? I can give you GSC access also.
Hello,
We added the filter for the sitemap on your website and all the sitemaps are loading fine.
We recommend that you delete all from the GSC and then re-submit the main one with the tutorial we mentioned earlier.
Don’t hesitate to get in touch if you have any other questions.
Hello,
Adding to my colleague’s reply, I checked the variations of your sitemap using https://httpstatus.io/ and 2 variations are returning 200 status.
Except for the preferred variation (which should return only a 200 status), all the non-preferred variations of the website should redirect to the preferred variation and return a 301 + 200 status.
Please follow the steps in this link:
https://rankmath.com/kb/couldnt-fetch-error-google-search-console/#5-check-for-the-correct-version-of-the-sitemap and redirect to the correct variation.
You can also get in touch with your web host regarding this.
Once this is fixed, please clear your website’s cache and remove all the sitemaps from your Google Search Console account, and then submit only the main sitemap: /sitemap_index.xml
.
Further, give Google some time to crawl your website again and see if the issue gets fixed.
Hope this helps.
Thank you.
Hello,
It seems like you missed the previous reply. Please follow the steps mentioned in my previous reply and see if that fixes the issue: https://support.rankmath.com/ticket/sitemap-issue-39/?view=all#post-314948
Hope this helps.
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.