Post sitemap not registered in the general sitemap

#990329
  • Resolved Klar
    Rank Math free

    Hi, the post-sitemap is not included in the general sitemap. the general sitemap only includes the page-sitemap. I want the post-sitemap to be part of the general sitemap. What should I do?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello, we apologize for the issue you are facing with the post sitemap not being included in the general sitemap. To ensure that your post sitemap is registered in the general sitemap, please follow these steps:

    1. Check Post Type Settings: Go to Rank Math SEO → Sitemap Settings and ensure that the post type for your posts is enabled. If it’s not enabled, toggle it on.

    2. Save Changes: After making any changes, don’t forget to click the Save Changes button at the bottom of the page to apply your settings.

    3. Verify Sitemap URL: You can find your general sitemap at https://yourdomain.com/sitemap_index.xml. Check this URL to see if the post sitemap is now included.

    If you have followed these steps and the post sitemap is still not appearing, please reply to this ticket with your site URL so we can assist you further. Thank you for raising this concern!

    Sources:
    How to Configure Sitemaps in Rank Math – Best Settings and Tips
    What Are the SEO Benefits of Sitemaps? » Rank Math

    Klar
    Rank Math free

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Klar
    Rank Math free

    Hi I’ve added our website link as well in the sensitive data. Thank you. The issue still persists. The post sitemap setting has been enabled this whole time yet it is not under the general sitemap.

    Hello,

    In this case, please follow these steps to flush your sitemap cache:

    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. Disable the transient cache for the sitemap by applying this filter. This will make sure that your XML sitemap always reflects the latest changes on your site:

    /** 
     * Filter if XML sitemap transient cache is enabled.
     *
     * @param boolean $unsigned Enable cache or not, defaults to true
     */
    add_filter( 'rank_math/sitemap/enable_caching', '__return_false');

    If you’re not sure how to add this code, you can follow this guide:
    https://rankmath.com/kb/wordpress-hooks-actions-filters/

    Let us know how this goes.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

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

The ticket ‘Post sitemap not registered in the general sitemap’ is closed to new replies.