Subject: Urgent: Sitemap is not regenerating after major site changes

#1097399
  • Mark Ma
    Rank Math free

    Hello,

    Thank you for the suggestions. I have now used the Health Check & Troubleshooting plugin to enter Troubleshooting Mode.

    I disabled all plugins, then re-enabled only Rank Math, TranslatePress, Elementor, and WooCommerce. In this clean environment, I forced the sitemap to regenerate by toggling the Sitemap module off and on.

    The result is that the sitemap still did not update and is stuck on the old date (August 23). This proves the issue is not a conflict with another third-party plugin, but likely a deeper issue within Rank Math or its interaction with TranslatePress/WooCommerce.

    Could you please escalate this issue and provide further technical guidance?

    Thank you.

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

    We apologize for the issue you are facing with the sitemap not regenerating after your site changes. Thank you for providing detailed information about the steps you’ve taken to troubleshoot the problem.

    Since you’ve already tested for plugin conflicts and the issue persists, it may be beneficial to check a few additional aspects:

    1. Check for Caching Issues: Ensure that any caching plugins or server-side caching are cleared. Sometimes, cached versions of the sitemap can cause it to appear outdated.

    2. Server Resources: Verify that your server meets the necessary requirements for running Rank Math effectively. You can check this by navigating to Tools → Site Health → Info in your WordPress dashboard and comparing your server settings with the recommended values:

      • PHP max input variables: 1000
      • PHP time limit: 120
      • PHP memory limit: 512M
      • Max input time: 150
        Server configurations
    3. Sitemap Settings: Double-check your sitemap settings in Rank Math to ensure everything is configured correctly. You can find these settings under Rank Math SEO → Sitemap Settings.

    4. Custom Canonicals: If you have custom canonical URLs set for your posts, they may not appear in the sitemap. Consider removing them temporarily to see if that resolves the issue.

    If these steps do not resolve the issue, we recommend replying to this ticket with your site URL so that a human agent from our support team can take a closer look at your specific setup and provide further assistance.

    Thank you for your patience, and we look forward to helping you resolve this issue!

    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.

    Wes L
    Rank Math free

    I’m experiencing the same problem. My sitemap simply won’t update, even when I change the number of posts per page. My server meets the requirements, I’ve cleared the local cache and the Cloudflare cache, and I’ve added rules to LiteSpeed ​​and Cloudflare to bypass the cache, but the sitemap simply won’t change!

    I also use TranslatePress, and even after deactivating the plugin, posts in other languages ​​still appear in the sitemap.

    Wes L
    Rank Math free

    I managed to resolve the issue. In fact, as soon as I published something on my site, the entire sitemap was completely updated with the new settings.

    Hello,

    In this case, 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/

    Also, head over to your website files /uploads/rankmath/, and delete any XML files from that path.

    Looking forward to helping you.

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

You must be logged in to reply to this ticket.