Sitemap showing only 20 post urls

#352659
  • Resolved franks ross
    Rank Math free

    Hello,

    Why all post urls not included in sitemap. Just noticed last five lived posts not listed in sitemap. I have 26 posts on my site and publishing day by day more. I went through here https://rankmath.com/kb/url-not-in-sitemap/ but there is no such reason on my site.

    Please let me suggest.

    Sincerely,
    Franks Ross

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

    Thank you for contacting the support, and sorry for any inconvenience that might have been caused due to that.

    Can you please follow these steps?

    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 issue still persists, please add this filter in your active theme’s functions.php file:

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

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

    Hello,

    Now, showing all posts in sitemap after following the instructions in 1 video screenshot.
    BTW, I would like to update you that rightnow we are not using any cache plguin on our site.

    Should we keep this setting continue?

    Thank you for prompt response.
    Sincerely,
    Franks Ross

    Hello,

    If you are not using any caching plugin and your sitemap is still getting cached, you should add the filter shared by my colleague in your theme’s functions.php file.

    Let us know if you need any other assistance.

    Thanks.

    Filter added

    Hello,

    I can see that the number of links in the sitemap has changed. Can you please check from your end?

    If that doesn’t help, we might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress login in the designated Sensitive Data section.

    Please do take a complete backup of your website before sharing the information with us.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    Yes, now sitemap is showing all published posts.
    Issue fixed.

    Thank you very much!

    Hello,

    We are super happy that this issue is already resolved. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind us 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 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 ‘Sitemap showing only 20 post urls’ is closed to new replies.