So, while almost all the pages on my blog, prahladyeri.github.io, are indexed by Google, there are a few pages, like this one, that aren't very popular and I don't remember sharing them widely.
But even if I didn't share it, Google is omniscient and must know about it, right? And if they did, why didn't they index this page? Can you spot anything odd that would cause this page not to be indexed unlike other pages of the same website?
Can I add a site hosted on Gihub to Google Search Console? I'm not sure if it's possible to verify domain ownership. I think there is an option to add an HTML file to the domain to verify ownership.
If you enter it into Google Search Console, you will get crawl errors and can also submit the URL manually.
1 Likes
I was able to verify a subdomain of my github pages by adding the provided HTML file to my repository. Primary domains can also be verified this way, but it has less functionality than full domain verification by adding TXT records etc.
Once the site is added to GSC, do you get any errors? Does it show as indexed?
1 Likes
Yes, it is.
According to a Google search, 101 pages are indexed from my blog prahladyeri.github.io.
And if we talk about all the blogs and websites within that subdomain, the number is a whopping 33 million.
You need to go to Google Search Console and look for errors as to why your page is not being indexed.
In my case, most of the URLs fall into the “crawled but not indexed” category, which isn't very helpful. Clicking the “Learn more” button above this result takes me to this help page, which again isn't very helpful in determining what exactly is wrong with this content.
Please use the URL Inspection tool on these URLs to get more information about why they are not being crawled, or you can request that the pages be re-indexed.
Make sure they're not blocked by your robots.txt file or meta tags, and if you have a canonical URL, make sure it's correct.
Good luck.