Sitemap couldn’t fetch

#1094794
  • Keith
    Rank Math free

    I have submitted my sitemap to google search console a while back and its showing “couldn’t fetch” on my dashboard. When I click into it, the status shows “Sitemap could not be read”. Kindly help!

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

    We apologize for the issue you are facing with your sitemap showing "couldn’t fetch" in Google Search Console. This can be caused by several factors. Here are some steps you can take to troubleshoot and resolve the issue:

    1. Validate Your Sitemap

    First, ensure that your sitemap is correctly configured. You can use the Validate XML Sitemap tool to check for any issues. If your sitemap is correctly configured, it should return a success message.

    2. Ensure the Sitemap is Located in the Root Folder

    Make sure your sitemap is located in the root folder of your WordPress installation. The URL should look like this:

    http://yourdomain.com`

    3. Check Indexing Settings

    Ensure that your posts are set to index. Go to Rank Math SEO → Titles & Meta and make sure the Index checkbox is enabled for your posts.

    4. Flush the Cache

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

    5. Exclude the Sitemap From Caching

    Make sure that your sitemap is not being cached. You can refer to this article on ensuring that your sitemaps are excluded from caching.

    6. Add the Correct Version of Your Sitemap to Google Search Console

    Ensure you have added the correct version of your site URL in Google Search Console. You can check this in your WordPress dashboard under Settings → General.

    7. Resubmit Your Sitemap

    After making these changes, resubmit your sitemap URL in Google Search Console.

    If you continue to experience issues after following these steps, please reply to this ticket with your site URL so we can assist you further. Thank you for raising this concern, and we hope these steps help resolve the issue!

    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.

    Keith
    Rank Math free
    Keith
    Rank Math free

    I have already followed your suggestions above but the results is still the same.

    Keith
    Rank Math free

    This is the response from my web host:

    The issue is related to the sitemaps not being fetched due to the noindex header. As it is stated by Google Itself. Once it is removed, Google will not flag the page and the issue will be resolved.

    I would recommend to use an alternate plugin or use the help an online tool so that the noindex header is not placed at the sitemap.

    Hello,

    Thank you for contacting us. We apologize for any inconvenience that may have been caused.

    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 a filter/hook to your WordPress site:
    https://rankmath.com/kb/wordpress-hooks-actions-filters/

    Once done, clear your website cache, remove all the submitted sitemaps, and resubmit only the index sitemap in the Search Console.

    Let us know how it goes. Looking forward to helping you.

    Thank you.

    Keith
    Rank Math free

    I have performed all that you asked, but it is still showing couldn’t fetch in GSC.

    Hello,

    Please give Google some time to crawl and read your sitemap, then check again.

    If everything is fine on your end, and Google may still return the error, please note that not all sitemaps are processed by Google not necessarily because there is something wrong with the sitemap.

    Even a perfect sitemap may not be processed by Google. Most of the time, it’s still sitting in the queue waiting for processing.

    You can check the replies of Google experts for the Couldn’t Fetch (especially for the TLDs except for .com) issues on the following threads: https://support.google.com/webmasters/thread/29055233/missing-xml-sitemap-data-in-google-search-console-for-tld-domain?hl=en and
    https://support.google.com/webmasters/thread/31835653/sitemap-couldn-t-fetch-sitemap-couldn-t-be-read-by-google-search-console?hl=en

    Meanwhile, you shouldn’t be worried about the “No: “noindex” detected in the HTTP header “X-Robots-Tag” error, as it’s completely fine and normal to have noindex tag on your sitemap URLs.

    Because, by default, sitemap URLs are set to noindex as it is not meant to be indexed and appear in the search results. The sitemap should only be submitted in the sitemaps section in the Search Console.

    The reason is that we don’t want Google to index the sitemap itself; we only want Google to index the pages and posts that are listed on the sitemap. The sitemap is simply a way to inform Google about the pages and posts on your website, not a page that you want to appear in search results.

    Do not hesitate to let us know if you need our assistance with anything else.

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

You must be logged in to reply to this ticket.