My sitemaps are old

#1052835
  • Resolved Maryse
    Rank Math free

    Hello, I have 2 sitemaps but they are old (2024-11-26 and 2025-01-28) and even if I desactivate/activate the option and save the sitemaps are not regenerated.
    Can you help me please ?

    Kind regards,
    Maryse

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

    We apologize for the issue you are facing with your sitemaps not regenerating. To ensure that your sitemaps are updated correctly, please follow these steps:

    1. Enable the Sitemap Module: Make sure that the Sitemap module is enabled in your Rank Math settings. You can do this by navigating to WordPress Dashboard → Rank Math SEO → Sitemap Settings and ensuring the module is active.
      Enable the Sitemap module

    2. Flush Permalinks: Sometimes, flushing permalinks can help resolve issues with sitemaps. To do this, go to Settings → Permalinks in your WordPress dashboard and simply click Save Changes without making any changes. This action can refresh the permalink structure and may help regenerate your sitemaps.

    3. Check Server Resources: If your sitemaps are still not updating, it could be due to server resource limitations. You can check your server settings by navigating to Tools → Site Health → Info and comparing your server configurations with the recommended values:

      • PHP max input variables: 1000
      • PHP time limit: 120
      • PHP memory limit: 512M
      • Max input time: 150
        Server configurations
    4. Clear Cache: If you have any caching plugins installed, clear the cache to ensure that you are viewing the most recent version of your sitemap.

    If you have followed these steps and are still experiencing issues, we recommend replying 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 hope to resolve it for you soon!

    Sources:
    Rank Math Sitemap Issues and Their Fixes » Rank Math

    Maryse
    Rank Math free

    Hello, I have 2 sitemaps on my website powered by rank math but they are not updated, I don’t understand why and how to fix it, can you help me please ?

    Hello,

    Please share the sitemap URL so we can check as well.

    Meanwhile, 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/

    Looking forward to helping you.

    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 3 replies - 1 through 3 (of 3 total)

The ticket ‘My sitemaps are old’ is closed to new replies.