|
/ Documentation /Troubleshooting/ Fixing “Couldn’t Fetch” for Your Sitemap in Google Search Console

Fixing “Couldn’t Fetch” for Your Sitemap in Google Search Console

Google Search Console (GSC) shows this error on the Sitemaps page when Googlebot tried to request your sitemap URL and didn’t get back a valid, parseable response in time. It’s a GSC-side report about the last fetch attempt. It doesn’t necessarily mean the sitemap is broken right now. Work through the causes below in order. They’re listed by how often they turn out to be the actual cause.

Before You Start: Confirm the Sitemap Loads Right Now

Open the sitemap URL directly in a private/incognito browser tab:

https://yoursite.com/sitemap_index.xml

This is the default sitemap index. If your site uses a custom sitemap slug, open View Sitemap in SureRank → General → Sitemaps and use the URL shown there.

  • If the XML loads, check that the HTTP status is 200 and that the index contains the expected sitemap entries. Then verify the exact submitted URL in Search Console.
  • If the URL returns 404, follow the “Sitemap Not Showing in SureRank” guide (https://surerank.com/docs/sitemap-not-showing-in-surerank/), then test the sitemap URL again.
  • Times out or 500s: continue to Cause 3/4.
  • Loads but is empty: check the response headers (Cause 2) before assuming it’s broken. An empty index can be a normal, temporary “still building” response.

Cause 1: GSC Has the Wrong (or an Old) URL on File

Compare the submitted URL with the current sitemap index to rule out an old or incorrect submission.

How it happens: SureRank redirects legacy/competitor sitemap URLs (/sitemap.xml, /wp-sitemap.xml, /index.xml) to the real sitemap URL with a 302. If a customer migrated from Yoast/Rank Math/SEOPress and GSC still has that old plugin’s URL submitted, every fetch now hits a redirect instead of the XML directly, a common source of “Couldn’t fetch.”

Fix:

  1. In GSC → Sitemaps, check the exact URL submitted.
  2. Compare it to the site’s actual sitemap URL.
  3. If they don’t match: remove the old submission, then add the correct URL.

Cause 2: A Temporary “Cache Is Rebuilding” Response (Usually Not a Bug)

By default, SureRank builds missing sitemap data when the URL is requested. In background mode, a cache miss with no usable backup can return an empty sitemap index with HTTP 503 and a Retry-After header.

What this means: a single 503 that clears within a few hours is expected, not a defect. GSC’s status can lag the site’s real state by a day or more. Re-verify against the live URL first. If the 503 doesn’t clear after several hours, go to Cause 3.

HTTP 503 with Retry-After is consistent with a cache miss. Also check the response body, generation mode, and server logs to confirm what served it.

Cause 3: The Site Can’t Reach Itself (Stalls the Rebuild)

If your site uses background sitemap generation and the cache is not rebuilding, check scheduled tasks and the loopback test in Site Health. The default on-demand mode builds missing content during the sitemap request.

Usual blockers: a security plugin (Wordfence, iThemes Security, WP Ghost) renaming/restricting the admin path; a hosting firewall/WAF blocking self-requests; a host with loopbacks disabled outright.

How to check:

  1. Tools → Site Health → Status in WP admin.
  2. Look for the SureRank loopback test. A failure will call out a security plugin, firewall, or host-level restriction.
  3. If the loopback test fails, ask your host to check whether the site can reach its own WordPress endpoints and identify the blocked request.

Cause 4: A Firewall/WAF Is Blocking Googlebot Specifically

An external firewall can block a crawler even when your site can reach itself. Check the firewall or hosting logs for the request to your sitemap.

How to check:

  1. Check the firewall/security plugin’s block log (Wordfence Live Traffic, Sucuri firewall log, Cloudflare Security Events) for blocked requests with a Googlebot user agent or Google’s crawler IP ranges around the time of the fetch failure.
  2. If Cloudflare is in front of the site: confirm Bot Fight Mode isn’t over-aggressive and no custom WAF rule matches the sitemap path.
  3. If the firewall blocked the request, verify the source using Google’s published IP ranges or its documented DNS checks before adjusting the rule.
  4. Ask your hosting provider or firewall administrator to review the blocked request.

Cause 5: robots.txt Is Blocking the Sitemap or the Site

Less common, but check if robots.txt was hand-edited:

  1. Open /robots.txt, confirm no blanket Disallow: / (common leftover from staging-site copy-paste).
  2. Confirm that the Sitemap: directive points to the correct URL. SureRank only auto-adds this when no custom robots.txt content is saved. Customers with custom content are responsible for including it themselves.
  3. Fix via SureRank → Advanced → Robots.txt Editor.

Pro-Specific Note: Video, News, and Author Sitemaps

These are separate modules with their own rewrite rules:

  • Enabling/disabling one requires a permalinks flush, same as the core sitemap. Otherwise the URL 404s instead of erroring.
  • They don’t share the core sitemap’s 503/retry self-healing. If their data hasn’t built yet, they typically return a valid-but-empty 200 rather than a retryable error, so “Couldn’t fetch” on these is more likely a URL/permalink issue or Cause 3/4 than a “still rebuilding” state.

Standard Remove-and-Resubmit Procedure

  1. Confirm the live sitemap URL loads cleanly (200, valid XML).
  2. In GSC → Sitemaps, remove the old/broken entry.
  3. Submit the current, correct URL.
  4. After submitting the sitemap, check the Last read date in Search Console for a new fetch.

When to Escalate

  • If the live sitemap returns HTTP 500, record the error and contact your host or SureRank support.
  • Loopback passes, no WAF/firewall block found, robots.txt is clean, submitted URL is correct, but “Couldn’t fetch” persists across multiple days of GSC attempts.
  • A Pro video/news/author sub-sitemap returns malformed (not just empty) XML.
Was this doc helpful?
What went wrong?

We don't respond to the article feedback, we use it to improve our support content.

Need help? Contact Support
Table of Contents
Scroll to Top