Hello,
Thank you for contacting Rank Math, and sorry for any inconvenience caused.
Can you please follow these steps?
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 and resubmit the sitemap in the Search Console.
Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.
Thanks ANAS Bro it helped me a lot my all pages are now again indexed,I had not taken a sleep last night due to this error .
its new site and I am new in this field so I was in worried
thanks a lot bro thanks
Hello,
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 you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.
If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.
Thank you.