Sitemap Issues

#968007
  • 林夏
    Rank Math free

    Hi there. I found a problem about the sitemap. The default setting of the sitemap is 200 links per sitemap. My website has nearly 500 posts. But in the sitemap there are only /post-sitemap1.xml and /post-sitemap2.xml. They add up to a total of 400 posts. Then I changed the Links Per Sitemap to 250, all posts can be displayed in /post-sitemap1.xml and /post-sitemap2.xml. I think according to the previous settings, rankmath should be able to automatically generate a /post-sitemap3.xml, but it was not generated. Could you please a check for me? Thanks

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

    We apologize for the issue you are facing with the sitemap generation. It seems that Rank Math is not creating the expected /post-sitemap3.xml file despite having more posts than the set limit per sitemap.

    Here are a few things you can check:

    1. Sitemap Settings: Ensure that the settings for the sitemap are correctly configured in Rank Math SEO → Sitemap Settings. You can also try resetting the Links Per Sitemap back to 200 and then back to 250 to see if it triggers the generation of the third sitemap.
    2. Flush Permalinks: Sometimes, flushing permalinks can resolve issues with sitemap generation. You can do this by going to Settings → Permalinks in your WordPress admin area and clicking on Save Changes without making any changes.
      Flush permalink settings
    3. Check for Plugin Conflicts: There might be a conflict with another plugin that is affecting the sitemap generation. You can use the Health Check plugin to identify any conflicts.
    4. Caching Issues: If you have caching enabled on your site, it might be serving an old version of the sitemap. Make sure to clear your cache after making changes.

    If these steps do not resolve the issue, please reply to this ticket with your website URL so that a human agent from our support team can assist you further. Thank you for raising this concern!

    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 and sorry for any inconvenience that might have been caused due to that.

    Most probably your sitemap was cached. In this case, if you face the issue again, please try to follow the steps below:

    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. Apply the following filter to your site to disable the transients cache for the sitemap:

    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.

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

You must be logged in to reply to this ticket.