Sitemaps are not updating

#1103461
  • Daniel Hay
    Rank Math free

    Hi,

    We’ve noticed an issue with our client’s site where the sitemap isn’t updating despite new content being published and existing pages being edited:
    https://www.smartexpress.co.nz/sitemap_index.xml

    For example, the Products sitemap still shows it was last modified last year, even though we’ve published and updated products within the past week.

    Could you advise on how we can resolve this?

    Thanks,
    Dan

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

    We apologize for the issue you are facing with the sitemap not updating. Here are a few steps you can take to troubleshoot and resolve this issue:

    1. Check Index Settings: Ensure that your posts and pages are set to index. You can do this by navigating to Rank Math SEO → Titles & Meta and confirming that the Index checkbox is enabled for your products.
      Index Titles and Meta settings

    2. Flush Permalinks: Sometimes, flushing permalinks can help. Go to the Permalinks settings in your WordPress dashboard and click Save Changes without making any changes. This can refresh the sitemap generation process.

    3. Clear Cache: If you are using a caching plugin, make sure to clear the cache. Additionally, ensure that your sitemap is excluded from caching to prevent it from serving outdated content.
      Changing the sitemap settings from Rank Math and permalinks.

    4. Check for Plugin Conflicts: Use the Health Check plugin to identify if there are any conflicts with other plugins that might be affecting the sitemap generation.

    5. Manual Sitemap Validation: Validate your sitemap using the Validate XML Sitemap tool to ensure there are no issues with its configuration.
      An example displaying how to validate a sitemap

    If these steps do not resolve the issue, we recommend replying to this ticket with any additional details or errors you may encounter, and a human agent from our support team will assist you further.

    Thank you for bringing this concern to our attention!

    Sources:
    Troubleshooting the “Couldn’t Fetch” Error in Google Search Console » 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 this issue may have caused.

    Please follow the steps below for initial troubleshooting:

    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/

    If the issue persists then try disabling the transient cache for the sitemap. This will make sure that your XML sitemap always reflects the latest changes on your site. Kindly add this code snippet to 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/.

    After you add the code, please clear any cache on your site or server and check your XML sitemap again. If you’re still facing issues with the sitemap, please let us know – we are happy to investigate further.

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

You must be logged in to reply to this ticket.