Skip to content

2024

GitHub Pages and Google

Turns out that if you publish a blog (like I do) on GitHub pages, and you want the site to be indexed by Google, it's not so easy.

I'm not sure entirely what the root cause is, but you have to manually add your site in the Google Search Console and then manually add each URL individually for indexing. This discussion outlines the problem perfectly.

Perhaps the reason for this is there are a LOT of pages under the github.io domain, so Google doesn't automatically index it all, or times out. Or perhaps it's because GitHub has some restriction in place which avoids attracting too much traffic to their free hosting solution. 🤷

Here's a more detailed discussion thread which expands more on this topic.