My Blog's sitemap is not recognized by google search console

I made my blog with Github Pages + Action

This is my deployed site, and repo is:

I think sitemap is generated corectly and link is:
https://nachiketa3299.github.io/RUB/sitemap.xml
(Didn’t touched any settings related to sitemap)

But, my google search console said:


It says sitemap is unkown and not able to fetch sitemap.

I don’t know where to start to handle this problem.
I really tried much with gpts.. search… cursor ai …
But none of them solved.
How?

The sitemap validator doesn’t detect any issues. This might be the problem in google’s end. Remove sitemaps once and add them again.

Check your Github setup. They might (I know if from Netlify only) have an option to “block all bots” in their security setup for your pages. In that case the Google Bot is blocked. Also check if your robots.txt is maybe blocking Google.

Edit: Cloudflare is the one with the Bot blocking.

It looks like your sitemap has a problem it’s not only google but SEOptimzer too :

It might because a sitemap should typically be located in the root directory of your website.
In your case it should be :

https://nachiketa3299.github.io/sitemap.xml

Try to put it at the correct location then check the Google Console again.

I have investigated further,
It has to be something else :

Looks like a problem of access.
Maybe Cloudflare or some proxy blocking the request.

I deploy my blog with Github Actions + Github Pages
Is their any additional access settings for them?
I didn’t touched anything,

I use Github Actions + Pages
I can’t find “block all bots” settings in my Github… (sorry.. where is it?)

My robots.txt is in my static folder, and when it builds, it goes to public/
and the content is :

User-agent: *
Allow: /
Sitemap: https://nachiketa3299.github.io/RUB/sitemap.xml

This has problem?

Just to be thorough, could you put the sitemap at the the root ?
So we can exclude this and concentrate on other possibilities.

Sitemap is generated at ./public/sitemap.xml
and I think it is already root on built site - am I wrong?

The site is in /RUB/ and the links in the sitemap are in /RUB/ so that is ok. A sitemap has to be at least in the lowest directory of the links it contains, so this is ok.

A quick Google search brought some issues with Github hosted sites and webmaster tool access. Seems to be a recurring issue. I wonder how you “validated” your site with Google Webmaster tools. If you can validate it by adding a file to the site, we know that it’s a problem with your sitemap, if you can’t validate (I would expect that result) then we know that Google can’t access your Github pages. The docs on Github don’t say anything about blocking bots… not sure if that is a configurable thing.

Do you use Cloudflare on top of that? Switch off the bot-blocker at Security > Bots > Standard Bot Protection Settings.

Another, last, thought: looking for your site via site:https://nachiketa3299.github.io/RUB/ I can find only one single page, the home page. Are you sure you don’t have a penalty?