Tags sitemap not being created

#1029391
  • Resolved Tim Arnold (he him)
    Rank Math free

    I initially enabled sitemaps for Pages, one custom post type, and categories. All three sitemaps are created and included in my top level sitemap as expected. I have now returned some weeks later to include Tags but that sitemap is not being created. I have created a page rule in Cloudflare to bypass cache, disable and re-enabled Rankmath, and included a filter in functions.php that claims to disable caching for Rankmath. I’m pretty sure there’s not a conflict with another plugin. All the other sitemaps are working just fine.

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

    We apologize for the issue you are facing with the Tags sitemap not being created. It sounds like you’ve already taken several steps to troubleshoot this issue, which is great. Here are a few additional things you can check:

    1. Check Tags Settings: Ensure that the Tags sitemap is enabled in your Rank Math settings. You can do this by navigating to Rank Math SEO → Sitemap Settings and confirming that the Tags option is checked.

    2. Empty Tags: If you have empty tags (tags without any posts or pages), they may not appear in the sitemap. You can enable the option to include empty terms if you want them to show up in the sitemap.
      Include Empty Terms

    3. Custom Code: Since you’ve added a filter to disable caching, ensure that it is correctly placed in your functions.php file. The code should look like this:

      add_filter( 'rank_math/sitemap/enable_caching', '__return_false');
    4. Plugin Conflicts: Even though you believe there’s no conflict, it might be worth temporarily disabling other plugins one by one to see if the Tags sitemap starts generating.

    5. Check for Static Files: Make sure there are no static files named sitemap_tags.xml or similar that could be causing conflicts. If such a file exists, it may prevent Rank Math from generating the dynamic sitemap.

    If after checking these points the issue persists, please reply to this ticket with your site URL so that a human agent from our support team can assist you further. Thank you for raising this concern, and we hope to resolve it soon!

    Sources:
    How to Configure Sitemaps in Rank Math – Best Settings and Tips

    I have tried and checked all these items. Site URL is https://mildredfoxarnold.com/

    Apparently you have to go to “RankMath SEO > Titles & Meta > Tags” and change the “Tag Archives Robots Meta” setting to “Index” before this will work. It seems like the setting to include Tags in the sitemap should mention this.

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

You must be logged in to reply to this ticket.