Sitemap couldn’t fetch issues on multiple sites

#958949
  • Resolved Zaphire
    Rank Math free

    I’m facing sitemap couldn’t fetch issues for multiple sub sitemaps for a number of my sites, I’ve tried all the recommendations below but nothing seems to work, is there some issue that is going on in the backend of RankMath?

    Ive tried all the following:

    . Check Rank Math Settings

    Ensure that your posts are set to index. You can do this by navigating to Rank Math SEO → Titles & Meta. In the Robots Meta settings, make sure the Index checkbox is enabled for your posts.

    Index Titles and Meta settings
    2. Validate Your Sitemap

    Use the Validate XML Sitemap tool to confirm that your sitemap is correctly configured. Enter your sitemap URL and click VALIDATE SITEMAP. If there are any issues, they will be highlighted.

    An example displaying how to validate a sitemap
    3. Flush the Cache

    If your sitemap appears outdated, you may need to flush the sitemap cache. Go to Rank Math SEO → Sitemap Settings, increase the value of Links Per Sitemap by one, and then save your settings. After that, navigate to Settings → Permalinks and click Save Changes to ensure the current settings are applied.

    Flush Permalinks
    4. Check for NoIndex Tags

    Make sure that the pages you want indexed do not have a noindex tag set. You can check this in the Rank Math Metabox when editing a post or page. Ensure that the Robots Meta is set to Index.

    Set Robots Meta to index in Rank Math Metabox
    5. Resubmit Your Sitemap

    After making these changes, remove your sitemap from Google Search Console and then submit it again.

    If you continue to experience issues after following these steps, please reply to this ticket, and a human agent from the Rank Math Support team will assist you further. Thank you for your patience, and we hope this helps resolve your issue!

    Sources:
    Troubleshooting the “Couldn’t Fetch” Error in Google Search Console » Rank Math

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

    We apologize for the issues you are facing with the sitemap couldn’t fetch errors across multiple sites. It sounds like you’ve already taken several important steps to troubleshoot the problem, including checking Rank Math settings, validating your sitemap, flushing the cache, and ensuring that noindex tags are set correctly.

    If you’ve followed all these recommendations and are still encountering issues, it may be beneficial to check if your sitemap is located in the root folder of your WordPress installation and ensure that your posts are set to index. Additionally, make sure that your sitemap is not being cached by any caching plugins or server-side caching.

    Here are a few more steps you can consider:

    1. Ensure the Sitemap is Located in the Root Folder: Your sitemap should be accessible at https://yourdomainname.com/sitemap_index.xml.
    2. Exclude the Sitemap From Caching: Refer to this article on ensuring that your sitemaps are excluded from caching.
    3. Check for Plugin Conflicts: Sometimes, other plugins can interfere with Rank Math’s functionality. You might want to check for any conflicts using the Health Check plugin.
    4. Check Server Configuration: Ensure that there are no server-level issues preventing access to your sitemap.

    If these suggestions do not resolve the issue, please reply to this ticket, and a human agent from the Rank Math Support team will assist you further. Thank you for your patience, and we hope this helps resolve your issue!

    Zaphire
    Rank Math free

    ive already tried all these recommendations

    Hello,

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

    Please try to follow the steps below 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, remove all the submitted sitemaps, and resubmit only the main sitemap in the Search Console and see if that works for you.

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

    Thank you.

    Okay thanks ive applied these changes, i will let you know if it works

    It’s very worrisome it keeps happening…

    Hello,

    Sure, let us know how this goes.

    Please give Google some time to recrawl your sitemap and wait for the “Last read” date column to be updated as well.

    Looking forward to helping you.

    so ive added the following:
    To exclude your sitemap from being cached by LiteSpeed Cache, head over to LiteSpeed Cache → Cache → Excludes from your WordPress dashboard. Once done, paste the below code snippet into the Do Not Cache URIs field and click Save Changes.
    /(.*)sitemap(.*).xml
    /(.*)sitemap.xsl
    /sitemap_index.xsl
    /sitemap_index.xml

    And resubmitted my sitemap and has been over 2 weeks and there are still issues with my sitemap being cached?

    Hello,

    Has Google updated the “Last read” date column?

    You can share screenshots using this tool: https://imgur.com/upload

    We look forward to helping yo.

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

The ticket ‘Sitemap couldn’t fetch issues on multiple sites’ is closed to new replies.