Sitemap Discrepancy Between Staging and Live Site

#915803
  • Resolved Travis Barker
    Rank Math free

    I was wondering if anyone could help me look at why my sitemap on my LIVE site is not reflecting new and updated URLs. They appear on my STAGING sitemap. All my setting in RankMath are set up correctly in LIVE and STAGING, and I’ve cached my browsers.

    I did see that the RankMath plugin did have an update on the date that the LIVE sitemap last updated. I was wondering if you have heard any similar issues with other users of RankMath. Thanks!

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

    Thank you for contacting us and we are sorry for any inconvenience that might have been caused due to that.

    This issue is not related to the recent plugin update.

    Please try to follow the steps below on the live site 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 filter/hook to your WordPress site:
    https://rankmath.com/kb/wordpress-hooks-actions-filters/

    Once done, please clear your website cache and check again to see if that works for you.

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

    Thank you.

    Thank you Adetayo! I will troubleshoot this! There does seem to be an issue loading your screenscast from that link however. When i load the page it gives me a “the connection was reset” error in what looks like the video element.

    Hello,

    You can also check how to flush the sitemap cache in this guide: https://rankmath.com/kb/fix-sitemap-issues/#blank-page

    Let us know how it goes.

    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 ‘Sitemap Discrepancy Between Staging and Live Site’ is closed to new replies.