Why sitemap are need to submit again and again

#920511
  • Resolved Affan
    Rank Math free

    Hi RankMath Team,

    I have recently started using Rank Math and added its sitemap to Google Search Console. Initially, everything was fetched correctly, and all the items in the sitemap were processed. However, after a few days, I noticed an error in the Search Console with the message “Couldn’t Fetch” for the sitemap. After that I removed and added once again it’s did the same. Is there a way to submit it once and this should not made error in future.
    [moved to sensitive data section]

    I would appreciate your guidance on resolving this issue. Please let me know if you need any additional information or access to troubleshoot.

    Thank you,

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for any inconvenience this issue may have caused you.

    For initial troubleshooting, 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/

    Once done, follow our guide here to fix this issue:
    https://rankmath.com/kb/couldnt-fetch-error-google-search-console/

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

The ticket ‘Why sitemap are need to submit again and again’ is closed to new replies.