Github Pages (free version) - sitemap.xml not being fetched by Google #199426
Replies: 3 comments
-
|
hey @books-bittencourt 👋 .
as for why github hasnt fixed this ,,, its likely because pages is a static file host at its core and doesnt control response headers granularly the way a custom server would,,,,,so its less a "bug" and more a structural limitation of the platform. a
|
Beta Was this translation helpful? Give feedback.
-
|
Hi, The "Couldn't fetch" status in Google Search Console does not necessarily mean there is a problem with GitHub Pages itself. It only means that Google was unable to retrieve or process the sitemap when it attempted to access it. A few things I would check first:
Regarding GitHub Pages specifically, many reports of "Couldn't fetch" eventually turn out to be:
Could you share:
Without the actual sitemap URL, it's difficult to determine whether the problem is with GitHub Pages, the sitemap itself, or Google Search Console's crawler. |
Beta Was this translation helpful? Give feedback.
-
|
This is a pervasive problem with GitHub pages and GSC. While my non-GitHub pages sites fetch the sitemap successfully, and almost immediately, the GitHub pages (6 of them) are stuck in 'couldn't fetch' for many months now. Interestingly, my older GitHub pages (with HTTPS not enforced) seem to be unaffected (or affected differently), which is also strange -- and seems to point to an issue on GitHub's end. For the older repos, the GSC processes the sitemap without the "couldn't fetch" error, but doesn't actually read the sitemap either. I.e., the sitemap status on GSC indicates 'Success' immediately after submitting a new sitemap, but the 'Last read' entry continues to be stuck on some ancient date, such as "Oct 13, 2024". Bing has no issue with any of these sites (for the old or new repos) either, confirming that the sites and the sitemaps are generally functional -- it's just GSC that cannot access them. Finally, it all used to work fine until about 1.5 years ago. This is something that broke since then. It affects a lot of users (the searches for "Google search console github pages sitemap") are inundated with people reporting the problem. I really hope someone actually fixes this, rather than repeating the same useless suggestions that have been posted in different discussions a thousand times, and never actually resolved the issue for anyone... |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
🏷️ Discussion Type
Question
💬 Feature/Topic Area
Pages
Body
Many people are complaining about the sitemap of their websites hosted on Github Pages not being read/fetched by Google Search Console. None of the suggestions found on the internet work. Any NEW suggestions? Does anybody know why this is like this, why Github doesn't fix this?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions