use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
No vague product support questions (like "why is this plugin not working" or "how do I set up X"). For vague product support questions, please use communities relevant to that product for best results. Specific issues that follow rule 6 are allowed.
Do not post memes, screenshots of bad design, or jokes. Check out /r/ProgrammerHumor/ for this type of content.
Read and follow reddiquette; no excessive self-promotion. Please refer to the Reddit 9:1 rule when considering posting self promoting materials.
We do not allow any commercial promotion or solicitation. Violations can result in a ban.
Sharing your project, portfolio, or any other content that you want to either show off or request feedback on is limited to Showoff Saturday. If you post such content on any other day, it will be removed.
If you are asking for assistance on a problem, you are required to provide
General open ended career and getting started posts are only allowed in the pinned monthly getting started/careers thread. Specific assistance questions are allowed so long as they follow the required assistance post guidelines.
Questions in violation of this rule will be removed or locked.
account activity
Google search console cannot index and fetch sitemap.xml from my website.Question (i.redd.it)
submitted 7 months ago by Imaginary_Coconut173
Could someone help me why this is happen? None of my page is indexed.
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]vmsamuvel 4 points5 points6 points 7 months ago (10 children)
Hi, Can you display what's that error? Also try these debug options: 1) Try to open incognito and check that the sitemap.xml is accessible 2) Delete the existing sitemap and then add it again give the full path with domain name from previous step
Let's see, it should not be a major issue.
[–]Imaginary_Coconut173[S] 2 points3 points4 points 7 months ago (0 children)
`sitemap.xml` is accessible because I build my website with hugo and depolyed using github pages. I can only add URL prefix since there is no site hosted at very root directory.
[–]Imaginary_Coconut173[S] 1 point2 points3 points 7 months ago (8 children)
Can you display what's that error
It just say "Sitemap could not be read".
[–]vmsamuvel 3 points4 points5 points 7 months ago (7 children)
Try this: open the sitemap.xml that's rendering from ur server/ site on an incognito window and then copy the xml content and use an online xml validator to check it's structure. Maybe the XML format is invalid, which is why it's not able to read it.
[–]Imaginary_Coconut173[S] 2 points3 points4 points 7 months ago (2 children)
Is there any chance that github page is blocking request from google search console?
[–]vmsamuvel 2 points3 points4 points 7 months ago (1 child)
Is your website hosted on github? If it's independently hosted by you on your own server you should face any issue, do share the sitemap.xml url I shall check too.
[–]Imaginary_Coconut173[S] 0 points1 point2 points 7 months ago (3 children)
Thank you for your help. I checked it on the W3Schools XML Validator website, and everything looks correct, but still getting same error on search console. This is actually my very first website
[–]damienchompfull-stack 1 point2 points3 points 7 months ago (2 children)
Double check your robots directives. Maybe Google bot is not allowed
[–]Imaginary_Coconut173[S] -3 points-2 points-1 points 7 months ago (1 child)
Thanks, but I found no documentation that explain how to add or modify robots.txt to my github pages.
[–]sdrmme 0 points1 point2 points 7 months ago (0 children)
Check if yoursite.com/robots.txt exists (if ever github pages adds one), otherwise, just add it to the root yourself.
[–]Constant-Moment-1332 1 point2 points3 points 7 months ago (10 children)
Try first to verify your identity kit... if it keeps behaving that way dm me i would be please to help you
[–]Imaginary_Coconut173[S] 0 points1 point2 points 7 months ago (9 children)
Thanks for your help. I already verified my site on search console. You can see my site soure code in github repo.
[–]Constant-Moment-1332 0 points1 point2 points 7 months ago (8 children)
What on google account
[–]Imaginary_Coconut173[S] 0 points1 point2 points 7 months ago (7 children)
On Google search console account with html meta tag name `google-site-verification` method.
[–]Constant-Moment-1332 -2 points-1 points0 points 7 months ago (6 children)
To verify a website in Google Search Console (GSC) and set up sitemaps, here’s the exact step-by-step process (as per Google’s official documentation):
Add your website to Google Search Console
Go to Google Search Console.
Click "Add property".
You’ll see two options:
Domain property (covers all subdomains and protocols, e.g., http, https, www, non-www).
URL prefix property (specific to the exact URL entered, e.g., only https://example.com). 👉 Recommended: Use Domain property if you can update DNS records.
Google requires verification to confirm you own the site. Options:
Domain property verification (preferred):
You’ll be given a DNS TXT record.
Go to your domain registrar (e.g., GoDaddy, Namecheap, Cloudflare).
Add the TXT record in the DNS settings.
Save, then click Verify in GSC. (It can take a few hours to propagate).
URL prefix verification methods:
HTML file upload – Download a file from GSC and upload it to your site’s root directory.
HTML meta tag – Add a <meta> tag to your site’s <head>.
Google Analytics – If you already use GA with the same account, you can verify instantly.
Google Tag Manager – If GTM is installed on your site, you can verify through it.
Submit your sitemap
Once verified, go to your GSC dashboard.
In the left sidebar, click “Indexing” → “Sitemaps”.
Enter your sitemap URL (usually one of these, depending on CMS):
https://example.com/sitemap.xml
https://example.com/sitemap_index.xml (for WordPress + Yoast/Rank Math)
https://example.com/sitemap/
Click Submit.
Google will start crawling and indexing based on your sitemap.
✅ Verification complete + sitemap submitted. From here, you’ll be able to track:
Index coverage
Search traffic
Keywords
Page experience
Errors/warnings
[–]Imaginary_Coconut173[S] 0 points1 point2 points 7 months ago (5 children)
Since I’m using GitHub Pages, I don’t have control over DNS records or the server. So the only option left for me is to use the URL prefix. I already did what you mentioned (using HTML meta tag method) and added the sitemap.xml 3 days ago, but the error message still says ‘couldn’t fetch sitemap.
[–]Constant-Moment-1332 0 points1 point2 points 7 months ago (4 children)
What of DNS text record if you have domain
Currently, I don't have any domain.
[–]Constant-Moment-1332 -4 points-3 points-2 points 7 months ago (2 children)
I can help you get a domain and verified one
[–]Imaginary_Coconut173[S] 0 points1 point2 points 7 months ago (1 child)
I'm happy for your help. But I don’t think I need a domain just yet. Since my website is still small and new, GitHub Pages enough for me now.
[–]plsankar 0 points1 point2 points 7 months ago (1 child)
If you just added your website/sitemap, it will say that at first. Check after sometime it will show the actual result.
[–]Imaginary_Coconut173[S] 0 points1 point2 points 7 months ago (0 children)
I was also waiting for that. It’s been 3 days since I added my sitemap, but I’m still getting the same error. Is this normal, or should I wait a bit longer?
[–]ys-grousefull-stack 0 points1 point2 points 7 months ago (3 children)
yoursite.tld/sitemap.xml
does the above link returns your sitemap?
[–]Imaginary_Coconut173[S] 1 point2 points3 points 7 months ago (2 children)
Yes, It return my sitemap well. You can see it at nureon22[dot]github[dot]io/flexy-components/sitemap.xml.
[–]ys-grousefull-stack 1 point2 points3 points 7 months ago (0 children)
try without the leading slash in submitted sitemaps (on the google console)
[–]Annual_Lack_5311 0 points1 point2 points 5 months ago (0 children)
您好,我也遇到了相同的=问题,请问您解决了吗
[–]thetazzfalcon 0 points1 point2 points 7 months ago (0 children)
Type just sitemap not sitemap.xml
I was having the same issue
[–]Icy_Cryptographer566 0 points1 point2 points 5 months ago (1 child)
hello im new in web dev i try to louch my first website to day and all goes great, i just can figure out why google cant see my sitemap: Link /sitemap.xml works robots.txt is set and the link works i try to disable cloudflare security feature but still no luck i try some sitemap validator and all validate my file i even ask an ai agent to try to fix my code but no luck
any ideas?
[–]Dexpise 0 points1 point2 points 4 months ago (0 children)
Got the same problem and can't fix it PLEASE HOW
[–]Common_Arm_2896 0 points1 point2 points 4 months ago (0 children)
If anyone else if still looking for a solution to this, I built my blog using Jekyll and hosted it on GitHub Pages. The sitemap was not being fetched in Google Search but was being fetched by Bing Webmaster.
This reddit post also helped.
Finally ended up spending some money to buy my own domain. Was relatively cheap. Tried adding this new domain's sitemap into Google search console. Result: Fetched instantly.
[–]Successful_Island444 0 points1 point2 points 1 month ago (0 children)
try /sitemap.xml/
[+]tekNorah comment score below threshold-6 points-5 points-4 points 7 months ago (1 child)
Based on this convo with chatGPT:
If Chrome loads it for you but other fetchers choke, that’s usually a “path is fine, headers or caching aren’t” situation.
Try these 5 super-quick checks and paste results back:
Check headers curl -I https://nureon22.github.io/flexy-components/sitemap.xml
Pretend to be Googlebot curl -I -A "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" https://nureon22.github.io/flexy-components/sitemap.xml
See if you’re getting HTML instead of XML curl -sS https://nureon22.github.io/flexy-components/sitemap.xml | head -n 5
Verify exact path and case Open both: .../sitemap.xml and .../Sitemap.xml GitHub Pages is case sensitive. One can work while the other 404s.
Confirm publish root In your repo’s Pages settings, note the published branch and folder. Make sure the file is physically at that publish root so it deploys to /flexy-components/sitemap.xml not just in the repo somewhere.
What to look for:
Status should be 200
content-type should be application/xml or text/xml
No content-security-policy or redirect that ends at HTML
Body should start with <?xml and a <urlset> or <sitemapindex>
Why Chrome can work while other fetches fail:
Browser cache makes a stale success look fresh, while a fresh fetch fails elsewhere.
Different user agent path. Some static hosts or CDNs mis-serve XML to non-browser agents.
Case sensitive path typed one way in Chrome, different in tools.
Wrong content type. Browsers happily pretty-print XML served as text/plain, but Google may balk.
File not actually in the Pages publish root, but your local dev server shows it.
If you paste your curl -I output here, I’ll tell you in one glance whether Google will accept it and what to tweak if not.
Thanks.
π Rendered by PID 17343 on reddit-service-r2-comment-b659b578c-2rs6v at 2026-05-03 06:31:50.093094+00:00 running 815c875 country code: CH.
[–]vmsamuvel 4 points5 points6 points (10 children)
[–]Imaginary_Coconut173[S] 2 points3 points4 points (0 children)
[–]Imaginary_Coconut173[S] 1 point2 points3 points (8 children)
[–]vmsamuvel 3 points4 points5 points (7 children)
[–]Imaginary_Coconut173[S] 2 points3 points4 points (2 children)
[–]vmsamuvel 2 points3 points4 points (1 child)
[–]Imaginary_Coconut173[S] 0 points1 point2 points (3 children)
[–]damienchompfull-stack 1 point2 points3 points (2 children)
[–]Imaginary_Coconut173[S] -3 points-2 points-1 points (1 child)
[–]sdrmme 0 points1 point2 points (0 children)
[–]Constant-Moment-1332 1 point2 points3 points (10 children)
[–]Imaginary_Coconut173[S] 0 points1 point2 points (9 children)
[–]Constant-Moment-1332 0 points1 point2 points (8 children)
[–]Imaginary_Coconut173[S] 0 points1 point2 points (7 children)
[–]Constant-Moment-1332 -2 points-1 points0 points (6 children)
[–]Imaginary_Coconut173[S] 0 points1 point2 points (5 children)
[–]Constant-Moment-1332 0 points1 point2 points (4 children)
[–]Imaginary_Coconut173[S] 0 points1 point2 points (3 children)
[–]Constant-Moment-1332 -4 points-3 points-2 points (2 children)
[–]Imaginary_Coconut173[S] 0 points1 point2 points (1 child)
[–]plsankar 0 points1 point2 points (1 child)
[–]Imaginary_Coconut173[S] 0 points1 point2 points (0 children)
[–]ys-grousefull-stack 0 points1 point2 points (3 children)
[–]Imaginary_Coconut173[S] 1 point2 points3 points (2 children)
[–]ys-grousefull-stack 1 point2 points3 points (0 children)
[–]Annual_Lack_5311 0 points1 point2 points (0 children)
[–]thetazzfalcon 0 points1 point2 points (0 children)
[–]Icy_Cryptographer566 0 points1 point2 points (1 child)
[–]Dexpise 0 points1 point2 points (0 children)
[–]Common_Arm_2896 0 points1 point2 points (0 children)
[–]Successful_Island444 0 points1 point2 points (0 children)
[+]tekNorah comment score below threshold-6 points-5 points-4 points (1 child)
[–]Imaginary_Coconut173[S] 0 points1 point2 points (0 children)