sitemap for categories

  • Resolved Faisal

    Are categories important to be included in sitemap. I could see that Yoast was including one, but after migrating to rankmath and importing the yoast settings, i do not see the categories sitemap.

    my website is

Viewing 11 replies - 1 through 11 (of 11 total)
  • Hello,

    Thank you for contacting Rank Math and sorry for the inconvenience caused by this.

    You can enable it from Rank Math > Sitemap Settings > Category > Enable and Save Changes.

    If you are not seeing this, please update your plugin to the latest version.

    I hope this resolves your issue.


    I did enable it yesterday but I don’t see my categories as part of the main site map

    I do see that it generated a separate sitemap at

    So my question: Shouldn’t categories be part of the main sitemap also?


    If they are enabled, they should be included in the main sitemap just like any other enabled sitemap.

    Can you please follow these steps?

    1. Head to Rank math > Titles & Meta > Categories and make sure the robots meta setting are to index.

    2. Flush the Sitemap cache by following this video screencast:

    3. 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:

    That should fix the issue. Please check your sitemap in a private/incognito browser and let me know if the issue persists. We are here to assist.

    thanks, I am not using cache plugin but my cloud hosting provider namecheap is using cache plugin. They are asking about the exact file names to exclude


    If you’re using any other caching plugins, it is best to get advice from your hosting provider.

    To be safe, you should request them to exclude sitemap_index.xml and every sitemap available in this list:

    I hope this resolves your issue.

    Hi, Thanks, they have included all sitemap files from cache plugin. I have two follow up questions.

    1. Upon visiting in incognito window, I still cannot site category and tags sitemap, while I do see them in the screenshot you shared. Do I need to wait for them to come up at my end ?

    2. What is the best practice of sitemaps. I mean besides posts, pages, categories and tags, what else should be part of the sitemap of a simple blog site?


    Thank you for the follow up.

    1. The sitemap also seems to show up as expected from my end:

    2. The sitemap is more like a table of content outlining all URLs on your site that you wish to have indexed. The best practices would be to make sure that the pages whose sitemaps are enabled are the pages you want to index and are good for your SEO. For instance, it is not always recommended to add your categories and tags to your sitemap unless they have actual content.

    Here is a guide on configuring and using Rank math sitemaps:

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    thanks, just a quick follow up question. Do images inside posts/pages get indexed automatically, or they need to be configured separately to get indexed


    The images are taken from your sitemaps (page-sitemap.xml, post-sitemap.xml…) so if those sitemaps have content, the images on those pages/posts can be indexed by Google, so any post that is indexed has its images crawled by Google and potentially indexed.

    I hope this helps. Looking forward to helping you.
    Thank you.

    i am closing the ticket and I got a good first experience of how good your support is , thank you.


    We are super happy that this issue is already resolved and addressed all your concerns. 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 about your overall experience with Rank Math? We appreciate your time and patience.

    If you 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.

Viewing 11 replies - 1 through 11 (of 11 total)

The ticket ‘sitemap for categories’ is closed to new replies.