Is there a known issue in Webflow that causes a "couldn't fetch" status in Google Search Console when trying to submit a sitemap URL?

Published on
September 22, 2023

There is a known issue in Webflow that may cause a "couldn't fetch" status in Google Search Console when trying to submit a sitemap URL. This issue typically occurs when the sitemap is not accessible to the Googlebot, which could be due to a few different factors. Here are a few possible reasons for this issue and how to resolve them:

  1. CORS (cross-origin resource sharing) issue: Webflow implements CORS headers to allow resources on your site to be accessed from other domains. However, Googlebot may have trouble accessing your sitemap if there is a misconfiguration or conflict with these headers. To resolve this, you can try adding the following CORS configuration to your website's sitemap URL:
Access-Control-Allow-Origin: https://www.google.comAccess-Control-Allow-Methods: GET, OPTIONSAccess-Control-Allow-Headers: Content-Type
  1. Sitemap access restrictions: Webflow allows you to restrict access to specific pages and collections using password protection or role-based permissions. If your sitemap URL is restricted in this way, Googlebot will not be able to fetch it. To fix this, make sure that your sitemap URL is public and accessible to all users and search engines.

  2. Sitemap URL structure: The URL structure of your sitemap may also contribute to the "couldn't fetch" status. Make sure that the sitemap URL you are submitting to Google Search Console is correct and valid. It should be in the format https://your-website.com/sitemap.xml.

  3. Robots.txt file: Check your website's robots.txt file to ensure that it is not blocking access to your sitemap. The robots.txt file is a common way to communicate with search engine crawlers and can be used to disallow certain URLs from being crawled. Make sure that the sitemap URL is not blocked by any rules in your robots.txt file.

In addition to these troubleshooting steps, make sure that your sitemap is correctly generated using Webflow and that it includes all relevant pages and content from your website. You can generate a sitemap by navigating to the SEO settings in your Webflow project and enabling the "Enable XML sitemap" option.

By addressing these potential issues, you should be able to resolve the "couldn't fetch" status in Google Search Console when submitting your sitemap URL from Webflow.

Additional Questions:

  1. How do I generate a sitemap in Webflow?
  2. Why does Google Search Console show a "couldn't fetch" status for my sitemap URL?
  3. What is CORS and how does it impact sitemap accessibility in Webflow?