Hello,
Thank you for your query and we are so sorry about the trouble this must have caused.
1. Please make sure that there’s an actual post associated with any category.
2. Head over to Rank Math → Titles & Meta → Categories and make sure that the robots meta is set to index
. See screenshot below for your reference:
3. If you want to list all category pages despite being empty of posts, you may force to do that in Rank Math → Sitemap Settings → Categories and enable the option “Include Empty Terms”.
Lastly, please follow the steps below:
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/
3. Apply the following filter code to your site.
add_filter( 'rank_math/sitemap/enable_caching', '__return_false');
Here’s how you can add filter to your WordPress site:https://rankmath.com/kb/wordpress-hooks-actions-filters/
Hope that helps.