# Search Console sitemap html warning

**URL:** https://meta.discourse.org/t/search-console-sitemap-html-warning/262331
**Category:** Support
**Created:** [April 19, 2023, 8:40pm UTC](https://meta.discourse.org/t/search-console-sitemap-html-warning/262331 "2023-04-19T20:40:46Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![EchoBilisim](https://avatars.discourse-cdn.com/v4/letter/e/bc8723/32.png) [@EchoBilisim](https://meta.discourse.org/u/EchoBilisim)
#### Post date: [April 19, 2023, 8:40pm UTC](https://meta.discourse.org/t/search-console-sitemap-html-warning/262331/1 "2023-04-19T20:40:46Z")

</div>

Hello, I added my site to Search Console, I added a sitemap, but I get an error saying that the sitemap is html. I don’t understand why there is this error. When I check the sitemap, there is nothing in the name of html, but for some reason it says html, why does it do this? You can find it here to examine the [sitemap](https://bidirda.com/sitemap.xml).

 ![Ekran görüntüsü 2023-04-19 234528](https://global.discourse-cdn.com/meta/original/4X/5/c/b/5cbabfe0fe3507750d4d2902a403b5446ccc030c.png)

---

<div class="post-metadata">

### Author: ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)
#### Post date: [April 19, 2023, 9:19pm UTC](https://meta.discourse.org/t/search-console-sitemap-html-warning/262331/2 "2023-04-19T21:19:44Z")

</div>

You have disabled anonymous access; a login is required.

When accessing the sitemap, it’s being redirected to the login page.

 ![image](https://global.discourse-cdn.com/meta/original/4X/d/5/0/d50df8c2290536814c3faac51a5124538b7a337c.png)

---

<div class="post-metadata">

### Author: ![EchoBilisim](https://avatars.discourse-cdn.com/v4/letter/e/bc8723/32.png) [@EchoBilisim](https://meta.discourse.org/u/EchoBilisim)
#### Post date: [April 19, 2023, 10:04pm UTC](https://meta.discourse.org/t/search-console-sitemap-html-warning/262331/3 "2023-04-19T22:04:36Z")

</div>

yes, I turned off the guest login so that there is an environment that I want only members to use.

Is that why she doesn’t accept it?

---

<div class="post-metadata">

### Author: ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)
#### Post date: [April 20, 2023, 6:03am UTC](https://meta.discourse.org/t/search-console-sitemap-html-warning/262331/4 "2023-04-20T06:03:45Z")

</div>

Sitemap is for open sites. Because you don’t let bots of search engines in, you don’t do anything with sitemap either and there is absolut no need to use search console either. With members-only you told to Google you don’t want them to index content.

But yes. Googlebot is waiting for sitemap but gets html-page instead, and you see an error. As you should.

---

<div class="post-metadata">

### Author: ![EchoBilisim](https://avatars.discourse-cdn.com/v4/letter/e/bc8723/32.png) [@EchoBilisim](https://meta.discourse.org/u/EchoBilisim)
#### Post date: [April 20, 2023, 12:19pm UTC](https://meta.discourse.org/t/search-console-sitemap-html-warning/262331/5 "2023-04-20T12:19:40Z")

</div>

Yes, I noticed, I activated the site for guests. Thank you for the information

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [May 20, 2023, 12:20pm UTC](https://meta.discourse.org/t/search-console-sitemap-html-warning/262331/6 "2023-05-20T12:20:37Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
