Hello,
Please try this, Go to WordPress Dashboard > LiteSpeed Cache > Cache > Excludes > Do Not Cache URIs
and add the following in the filed for URLs to never cache: sitemap
Once done you should clear your cache then do the following:
1. Head over to WordPress Dashboard > Settings > Permalinks
Hit the save button once.
2. Go to WordPress Dashboard > Rank Math > Sitemap Settings
Hit the save button once.
That should fix the issue.
If it doesn’t, please do let us know so we can look at this further.
Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
Hello respected team Rank Math,
I am very frustrated…Please solve my issue, I tried many settings and methods provided by you so many times. Every things was going good, but suddenly today (10/21/2020, 8:30 pm Indian Standard Time), I saw sitemap error in Google search console again.
I tried all these methods
1.Excluded sitemap in Litespeed cache
2.Cleared cache
3.Flushed permalink
4.Save sitemap settings in Rank Math
5.Submitted sitemap again in GSC
Please see images
Hello,
Could you give us some examples? You can share the URL in the Sensitive Data section.
Looking forward to helping you. Thank you.
Ok I am sharing my site url in sensitive data. please take a look
Hello,
I checked your sitemap, and its working fine, you can validate your sitemap here:
https://www.xml-sitemaps.com/validate-xml-sitemap.html
Also i have added a screenshot of your sitemap in the sensitive data.
Looking forward to helping you. Thank you.
Hello gentlemen. It seems that you are not understanding my words? The problem is that the sitemap automatically becomes 404 pages, and then normalizes by itself. Where is the problem?
And due to this issue my site facing lot’s of problem, like indexing and so on.. This will be more problematic in future. If this happens again and again, it will create a serious problem in my blogging.
No reply? No fix? For your knowledge, I am also using cloudflare CDN with full (strict) SSL along with Litespeed cache plugin…
If I have to bypass caching for sitemap in cloudfalre then please let me know, what is correct syntax for sitemap url?
Hello,
If your sitemap is automatically being removed and showing a 404, that means there is an issue with your rewrite rules and the rules are automatically not flushing and resetting on their own.
Can you please talk to your web host about this?
Otherwise, please submit this URL to Google Search Console to avoid this issue with your rewrite rules:
https://hixxxxood.com/?sitemap=1
That should do the trick. Otherwise, we will need your FTP logins to look further into the issue.
Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.