missing category in sitemap

#207504
  • Resolved Clara Bakhshi
    Rank Math free

    Hello,

    I posted my first blog post yesterday under my only Category. My sitemap indicates there is no Category and I am getting an error from Google Search Console for the missing XML tag.

    The “Include in Sitemap” option is already enabled in the Categories RankMath section. I have also flushed the Sitemap cache as per the instructions I saw on this RankMath ticket https://support.rankmath.com/ticket/categories-doesnt-appear-in-sitemap/.

    The site cache was also flushed but my sitemap is still missing any category data. URL for the post below in the category is below. Thank you

Viewing 7 replies - 1 through 7 (of 7 total)
  • Anas
    Rank Math business

    Hello,

    Thank you for contacting Rank Math, and sorry for any inconvenience caused.

    Please try excluding 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/

    Then clear the website cache.

    Remove all the sitemaps from the search console and add sitemap_index.xml and wait for Google to crawl the sitemap.

    That should fix the issue. Please let me know if that does not. We are here to assist.

    Hell Anas,

    I am using WP-Optimizer and Autoptimize which I use on my other site. I’ve added the sitemap URL in the Caching exclusions.

    However, I am a little confused regarding your instruction “Remove all the sitemaps from the search console and add sitemap_index.xml and wait for Google to crawl the sitemap.”

    Do you mean to just remove the old sitemap URL and re-add it and wait for Google to crawl it?

    Thank you

    Anas
    Rank Math business

    Hello,

    Yes, you should remove the sitemap URL in the search console and add it again.

    I hope this helps.

    Let us know if you have any questions.

    We are here to help.

    Hello Anas,

    google read the sitemap today and it’s still coming up with an error, missing XML tag.

    thank you

    Hello,

    Thank you for your patience.

    I’ve checked the category sitemap, and it’s showing fine.

    Could you please try submitting the category sitemap individually and see if that makes a difference? /category-sitemap.xml

    You can as well confirm if the issue is really with the Rank Math sitemap by using a 3rd party sitemap plugin. Just make sure you have disabled the Sitemap module of Rank Math in WordPress Dashboard > Rank Math > Dashboard when using a 3rd party sitemap plugin.

    If the other plugin works, please do let us know.

    Looking forward to helping you.

    Thank you.

    Hello,

    Yes it’s working now. About an hour ago I discovered that in the edit my category page itself in the Rankmath advanced section, the categories were somehow selected as nofollow although enabled in the main plugin settings. Google recrawled already and it’s working now. 🙂

    Thank you for your help

    Anas
    Rank Math business

    Hello,

    We are super happy that your issue is resolved. 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.

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

The ticket ‘missing category in sitemap’ is closed to new replies.