Sitemap Issue

#1109806
  • I’m having a problem with my sitemap that started about 20 days ago. In the settings, the maximum URL limit per sitemap was set to 100 URLs. I currently have two post sitemaps — one contains 18 URLs, but all of them are old blog posts, and the other has reached the limit of 100 URLs.

    What’s happening is that newly published blog posts are not being automatically added to the sitemap, and now I’m facing indexing issues for those posts.

    First, I tried changing the URL limit to 250, but since the sitemap didn’t update automatically, I also followed your article and went to Settings > Permalinks, but that didn’t work either.

    We also tried clearing the cache, but the problem still persists.

    Can you help?

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

    I apologize for the issue you are facing with your sitemap. It sounds like you’ve already taken some good steps to troubleshoot the problem. Here are a few additional things you can check:

    1. Check Excluded Posts: Ensure that the new posts are not excluded from the sitemap settings. You can do this by navigating to Rank Math SEO → Sitemap Settings and checking the Exclude Posts section.

    2. Flush Sitemap Cache: Since you mentioned clearing the cache, make sure to also flush the sitemap cache specifically. You can do this by going to Rank Math SEO → Sitemap Settings and changing the Links Per Sitemap setting, then clicking Save Changes. This should refresh the sitemap.
      Links Per Sitemap

    3. Permalinks: You mentioned that you tried saving changes in the Permalinks settings, which is great. Just ensure that you click Save Changes even if you don’t make any modifications.
      Permalink Settings in WordPress

    4. Check for Plugin Conflicts: Sometimes, other plugins can interfere with Rank Math’s functionality. You can use the Health Check plugin to identify any potential conflicts.

    5. Sitemap Caching: If you are using a caching plugin, ensure that it is configured to exclude the sitemap from caching. This can sometimes prevent updates from appearing.

    If after trying these steps the issue still 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’re here to help!

    Sources:
    Why Isn’t My URL Included in the Sitemap? » Rank Math
    Rank Math Sitemap Issues and Their Fixes » Rank Math

    This is an automated reply from Rank Math Support Bot. Your ticket has been assigned to a human agent and we will get back to you shortly.

    Hello,

    Thank you for contacting us. We apologize for any inconvenience that may have been caused.

    Please try to follow the steps below and 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 don’t seem to work, kindly apply the following filter to your site.

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

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

    Once done, clear your website cache and check the sitemap again.

    Let us know how it goes. We look forward to hearing from you.

    Thank you.

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

You must be logged in to reply to this ticket.