Google: You Can Restrict XML Sitemaps Access To Search Engines

Jun 8, 2022 - 7:21 am 6 — by

Google Sitemap

Google's John Mueller said it is acceptable to restrict access of your XML Sitemaps to just search engines. So you can technically block humans from seeing your XML sitemaps but allow Google to access it.

This came up when Christoph Cemper asked about some sites using Cloudflare to restrict access to their XML sitemap files. Christoph asked "Seen an xml sitemap "protected" by . Cloudflare. Wondering if Googlebot would type in that Captcha, or just retry later, or just ignore the map. Any experiences/guidance @JohnMu on such a case?"

John responded on Twitter saying "That's fine. These sitemap files are for search engines, and some sites prefer to restrict their access accordingly."

Here are those tweets:

This would clearly not be a form of cloaking because humans do not need to see your Sitemap files, because XML sitemap files are designed for search engines, not humans. But this obviously would not apply to HTML sitemap files...

Forum discussion at Twitter.

 

Popular Categories

The Pulse of the search community

Google Search Volatility

More Details

Search Video Recaps

 
Video Details More Videos Subscribe to Videos

Most Recent Articles

Google Search Engine Optimization

Google Adopts New AI Training Control

Oct 30, 2026 - 12:50 pm
Bing SEO

Microsoft Bing New AI New Controls With AI Training From AI Search Grounding

Oct 30, 2026 - 12:15 pm
ChatGPT Ads

ChatGPT Gets Wider Ads, Multi-Image Ads Expands, Expansion & More

Oct 30, 2026 - 11:17 am
Search Forum Recap

Daily Search Forum Recap: October 30, 2026

Oct 30, 2026 - 10:00 am
Search Video Recaps

Search News Buzz Video Recap: Google Volatility X2, Spam Updates, AI Overviews Everywhere, Blending Ads & Organic, Google & Microsoft Earnings

Oct 30, 2026 - 8:01 am
Google Search Engine Optimization

Google AI Overviews & AI Mode 0.9% Click-Through Rate, Opt Out Study Says

Oct 30, 2026 - 7:51 am
Previous Story: Bing Tests Ads Tab Under Search Bar