dthlogo cropped
digital hub logo white transparent

Fixing the “Sitemap Could Not Be Read” Error in Google Search Console - Troubleshooting Guide

sitemap couldn't fetch error shown in search console
Table of Contents

If you’ve submitted your sitemap in Google Search Console and see the message “Sitemap could not be read”, it means Googlebot wasn’t able to access or interpret the file.

This issue is common for WordPress websites using SEO plugins like Rank Math or Yoast, especially when server or configuration settings interfere with Google’s crawler.

Below, we’ll walk through the most likely causes and fixes.

1. Check Sitemap Accessibility

The first step is to ensure the sitemap URL you submitted is accessible.
You can test this by opening it directly in your browser. It should load a clean XML file showing a list of sitemap indexes or URLs.

sitemap couldn't fetch error shown in search console

If you see an error such as “Incorrect HTTP header content-type: text/html; charset=UTF-8 (expected: application/xml)”, the sitemap might be served with the wrong file type. This can happen due to caching or an incorrect server configuration.

  • Make sure your sitemap URL is correct (for example, https://yourdomain.com/sitemap_index.xml)

If using Rank Math or Yoast, resave your permalink settings in Settings → Permalinks → Save Changes to regenerate rewrite rules

saving permalinks in wordpress

Disable any caching temporarily and recheck your sitemap

2. Review the Robots.txt File

Your robots.txt file should allow access to the sitemap and the relevant directories.
You can test it using the Google robots.txt Tester.

Example of a correct robots.txt file:

If the sitemap is blocked, Googlebot will not be able to read it.

3. Validate the Sitemap XML Format

Sometimes, the sitemap contains invalid XML, incorrect encoding, or non-canonical URLs.
You can check your sitemap’s format using an XML Sitemap Validator.

Ensure:

  • The XML syntax is valid and properly closed
  • All URLs use the correct version (https or non-www)
  • No URLs within the sitemap are blocked by robots.txt or marked with a noindex tag

4. Check for .htaccess Issues (WordPress)

If you’re hosting on GoDaddy, or another cPanel-based host, the .htaccess file controls URL rewriting and access permissions.
If this file is missing, WordPress cannot properly generate or serve sitemap URLs.

To fix:

  1. Go to Settings → Permalinks and click Save Changes (this often regenerates the .htaccess file).
  2. If it doesn’t, ask your developer or host to check that one exists in the root folder (next to wp-config.php).
  3. Ensure the file includes the standard WordPress rewrite rules.

Without it, sitemaps may return incorrect headers or become inaccessible to Googlebot.

5. Clear Cache and CDN Layers

Caching plugins and CDNs (like Cloudflare) may serve outdated versions of your sitemap.
If you recently made changes, purge all caches before resubmitting your sitemap.
Check that the server response header for your sitemap shows:
content-type: application/xml; charset=UTF-8

6. Resubmit the Sitemap in Google Search Console

Once all the above checks are complete:

  1. Remove the old sitemap from Google Search Console.
  2. Re-add it (for example, /sitemap_index.xml).
  3. Wait a few hours and refresh your console - it should now show a successful fetch and a valid number of discovered URLs.

7. Hosting-Level Restrictions

If you’ve tried all the above and your sitemap still cannot be read, the problem may be on the hosting side.
Some security configurations block Googlebot or rewrite file headers incorrectly.
Ask your host to check the firewall and ensure Googlebot is not being blocked.
In GoDaddy, you can review this under Security Settings → Firewall → Access Control.

Other hosts like SiteGround, Bluehost, or Hostinger have similar settings under their site tools or cPanel.

Common Causes Recap

  • Incorrect sitemap URL
  • Missing or misconfigured .htaccess file
  • Wrong Content-Type header (should be application/xml)
  • Robots.txt blocking sitemap access
  • Caching or CDN serving old data
  • Hosting firewall or security blocking Googlebot

Final Checks

If everything appears correct but Search Console still shows “Couldn’t fetch”, check your server logs for crawl errors or 403/404 responses.


You can also use the URL Inspection Tool in Search Console to confirm Googlebot can access the sitemap.

Did this help you solve your sitemap issue? Send us a message below or ask a question.

account icon
date icon
comment bubble icon
maddison profile
ABOUT THE AUTHOR

Maddison R

With over 10 years experience in the SEO and search space, Maddison is an expert in traffic growth strategies and growing your presence online.

2 comments on “Fixing the “Sitemap Could Not Be Read” Error in Google Search Console - Troubleshooting Guide”

  1. Hi !

    My website, high-flight.org, is hosted by WordPress.com. It was successfully indexed by Google from 2020 to 2025/2026 but it is not anymore with errors like "no information available for that page". I checked everything on WordPress.com side (robots.txt, sitemap_index.xml...), spent some sixteen hours chatting with WP, including ten hours with WP human support. Everything was controlled ten times. All WP plugins deactivated end reactivated. Firewall wide open : no explanation found. Then I followed ALL your testing procedure without ANY bug detected. But whenever I submit my https://high-flight.org/sitemap_index.xml to Google Search Console, it invariably answers "an error occured when accessing your sitemap. Please check that your sitemap is not blocked by Google".

    I am getting nuts.

    Thank you for your attention...

    Pierre BACARA

    1. Hi Pierre,
      It looks like in Yoast your sitemap file is blocked, please add it to the allow section and try submit the sitemap agiain.
      Additionally if it is a new site, you will need to wait some time.

Leave a Reply

Your email address will not be published. Required fields are marked *

More Digital Marketing Tips & Tricks

August 5, 2026
HTTP vs HTTPS: What Is an SSL Certificate?

If you visited your own website and were greeted by a warning, it's easy to assume something has gone wrong. Maybe your web developer mentioned installing an SSL certificate, or you've noticed your website still starts with HTTP instead of HTTPS like many business owners, you may be doubting whether it's something you need to […]

Read More
July 23, 2026
How Long Do People Spend Using the Internet?

Many business owners question whether digital marketing is worth spending their budget on. A deeper look at how much time people spend online makes that question much easier to answer. The typical person now spends around 6 hours and 38 minutes on the internet every day. In Australia, that number is even higher. According to […]

Read More
July 9, 2026
What the World Cup can teach you about SEO in 2026

Six weeks of football is generating one of the more useful case studies in search behaviour we’ve seen in years. Keyword demand spiking in real time. Brands fighting for visibility that money alone can’t buy. A live look at how Google Business Profile handles a global event as it unfolds. According to Forbes, Sistrix data […]

Read More
search bites seo webinars
Sign up to Search Bites to get SEO and AI search tips - a quick overview of the best bits!
*Your details will be treated in accordance with our privacy policy
33 Berry St, North Sydney, NSW, Australia (by appointment only)
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram