Sitemap XML not generating all my posts.

#503254
Viewing 8 replies - 1 through 8 (of 8 total)
  • Hello,

    Thanks for contacting us, and sorry for any inconvenience that might have been caused due to that.

    The most possible reason can be that your sitemap is heavily cached. Can you please try following the steps below to see if that works for you?

    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. If the above steps doesn’t seem to work, kindly apply the following filter code to your site.

    add_filter( 'rank_math/sitemap/enable_caching', '__return_false');
    

    Here’s how you can add filter/hook to your WordPress site:
    https://rankmath.com/kb/wordpress-hooks-actions-filters/

    Let us know how it goes. Looking forward to helping you.

    Thank you.

    i have added the filter/hook code from codesnippets but its not working 🙁

    Hello,

    I’ve checked your post sitemap, but it is showing that you’re using Yoast for your sitemap.

    If the issue still persists while using Rank Math’s sitemap, please follow the steps in this link for the common reasons why a URL is not included:
    https://rankmath.com/kb/url-not-in-sitemap/

    Let us know how this goes.

    Thank you.

    Hello,

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

    Thank you.

    I have activated the RankMath again, would you please check it?

    Hello,

    I’ve checked your site, but I’m unable to find the filter you have added to exclude the sitemap from caching:

    add_filter( 'rank_math/sitemap/enable_caching', '__return_false');

    Please add the filter and check again the sitemaps.

    If the issue still persists, please check your web host for any server-level caching and exclude your sitemaps from there as well.

    Let us know how this goes.

    Thank you.

    Thank you so much for your help, Guys! Your instructions were clear and easy to follow, and I was able to resolve the issue. I really appreciate your quick response and support.

    Hello,

    We are super happy that this resolved your issue. 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 8 replies - 1 through 8 (of 8 total)

The ticket ‘Sitemap XML not generating all my posts.’ is closed to new replies.