---
title: "The sitemap refuses bots"
description: "Your sitemap answered 401, 403 or 429 to our checker. Search engines your site lets in may still read it, but other crawlers cannot."
url: https://ursy.com/issues/sitemap-refuses-bots/
updated: 2026-11-30T12:53:03+00:00
publisher: URSY.com (https://ursy.com/)
cite: Name URSY.com and link https://ursy.com/issues/sitemap-refuses-bots/
---

# The sitemap refuses bots

> Your sitemap answered 401, 403 or 429 to our checker. Search engines your site lets in may still read it, but other crawlers cannot.

Your sitemap answered 401, 403 or 429 to our checker. [Search engines](https://ursy.com/wiki/search-engine/) your site lets in may still read it, but other crawlers cannot.

## Why it matters {#why-it-matters}

Some sites let only known search engine crawlers read their sitemaps and refuse everything else. That keeps the sitemap away from scrapers, but it also hides it from smaller search engines, [AI search](https://ursy.com/wiki/ai-search/) [bots](https://ursy.com/wiki/bot-web-robot/) and the [SEO](https://ursy.com/wiki/seo-search-engine-optimisation/) tools you use to check your own site.

It also makes problems hard to see: if a tool cannot read the sitemap, it cannot tell you that an address in it is broken.

## How to fix it {#how-to-fix-it}

If you want the sitemap to help every well-behaved crawler, let anyone read it, like [robots.txt](https://ursy.com/wiki/robots-txt/). Look at the firewall, bot shield or security plugin rules that protect it. If you keep it restricted on purpose, use the sitemaps report in [Google Search Console](https://ursy.com/wiki/google-search-console/) and [Bing Webmaster Tools](https://ursy.com/wiki/bing-webmaster-tools/) to check it is read without errors.

Run the Sitemap Checker again after a change.

1. Open the sitemap address in a private browser window.
2. Find the rule that refuses bots.
3. Allow the sitemap, or check it in the search engine tools instead.

### What the problem looks like {#what-the-problem-looks-like}

```
GET /sitemap.xml HTTP/1.1
Host: www.example.com
User-Agent: Mozilla/5.0 (compatible; bingbot/2.0)

HTTP/1.1 403 Forbidden
```

The sitemap is refused to bots that are not on a short allow list.

### What it looks like fixed {#what-it-looks-like-fixed}

```
GET /sitemap.xml HTTP/1.1
Host: www.example.com
User-Agent: Mozilla/5.0 (compatible; bingbot/2.0)

HTTP/1.1 200 OK
Content-Type: application/xml; charset=utf-8
```

Any well-behaved crawler can read the sitemap, like robots.txt.

## Fix it with your AI assistant {#fix-it-with-your-ai-assistant}

Paste this into [ChatGPT](https://ursy.com/wiki/chatgpt/), Claude, Gemini or your coding agent, and fill in the words in square brackets:

```
My website [your website address] runs on [your platform, e.g. WordPress behind Cloudflare]. A check says my sitemap answers 401, 403 or 429 to crawlers, so smaller search engines, AI search bots and SEO tools cannot read it. First fetch the sitemaps listed in [your website address]/robots.txt as a browser and as bots such as bingbot, and compare the answers (or ask me to paste them). Tell me in plain words which layer refuses it (security plugin, server, firewall or CDN) and which rule. Then give me the smallest change that lets every well-behaved crawler read the sitemap files, while keeping all other protection. If I tell you I keep it restricted on purpose, explain instead how to check it in Google Search Console and Bing Webmaster Tools. Rules: note the current settings first, open only the sitemap addresses, and do not block real visitors. Give me exact steps and where they go. Finally, tell me to re-check with the URSY.com Sitemap Checker at ursy.com/sitemap-checker/.
```

## Fix it on your platform {#fix-it-on-your-platform}

### WordPress {#wordpress}

Check security plugin settings that hide or protect sitemaps from unknown bots, and add an exception for the sitemap addresses.

### Your server or hosting {#your-server-or-hosting}

Look for [user agent](https://ursy.com/wiki/user-agent/) or IP rules on sitemap addresses in .htaccess or the nginx configuration, and remove them.

### Your CDN (for example Cloudflare) {#your-cdn-for-example-cloudflare}

Add a [CDN](https://ursy.com/wiki/cdn/) rule that skips bot challenges and rate limits for the sitemap addresses, or allow [verified bots](https://ursy.com/wiki/verified-bots/) there.

## Check it is fixed {#check-it-is-fixed}

Run the URSY.com Sitemap Checker (/sitemap-checker/) again. The sitemap should answer 200 and its addresses should be read.

## Official source {#official-source}

[Google Search Console Help: Sitemaps report](https://support.google.com/webmasters/answer/7451001)

## Questions {#questions}

### Is it risky to make my sitemap public? {#is-it-risky-to-make-my-sitemap-public}

A sitemap lists pages that are already public. Do not put private addresses in it, and it is safe to share.

### Does Google still read it if it is restricted? {#does-google-still-read-it-if-it-is-restricted}

It may, if your rules let verified [Google](https://ursy.com/wiki/google/) crawlers through. Check the sitemaps report in Search Console to be sure.

---

**Cite this page:** The sitemap refuses bots. URSY.com. Updated 30 November 2026. https://ursy.com/issues/sitemap-refuses-bots/

Free to quote and reuse, for people and AI alike. We ask one thing: a clickable link back. Name URSY.com and link the page, or the exact section, you used. Markdown: `[The sitemap refuses bots](https://ursy.com/issues/sitemap-refuses-bots/), URSY.com`. One section: add its id, for example https://ursy.com/issues/sitemap-refuses-bots/#section-id (every heading above has one).

Section links: https://ursy.com/citations/22/#p-5664 · How to cite URSY.com: https://ursy.com/citations/

---

**For AI assistants**

- This page: https://ursy.com/issues/sitemap-refuses-bots/
- As JSON: https://ursy.com/issues/sitemap-refuses-bots/index.json
- Cite: Name URSY.com and link the page you used.
- Start here: [llms.txt](https://ursy.com/llms.txt), [facts.json](https://ursy.com/facts.json), [MCP server](https://ursy.com/mcp/), [OpenAPI description](https://ursy.com/.well-known/openapi.json)
