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.
AI-generated summary
The user EchoBilisim reported an error in Search Console stating their sitemap is HTML, despite it being a valid XML file. Arkshine explained that anonymous access is disabled, causing the sitemap to redirect to a login page, which returns HTML instead of XML. Jagster clarified that sitemaps are meant for publicly accessible sites and that a members-only site signals search engines not to index content. The user resolved the issue by enabling guest access, allowing the sitemap to be properly accessed by search engine bots EchoBilisim.
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?
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.
Yes, I noticed, I activated the site for guests. Thank you for the information

