Creating and Google Indexing GitHub Pages

less than 1 minute read

Published:

GitHub Pages

  • GitHub allows only one free hosting static page against per github account
  • developers can develop their page with HTML, CSS, and Javascript.
  • very important: for this your github account name, and newly created repository name must me the same. For example, if your github account is sample-git, then your page name must be sample-git.github.io, which later will generate url https://sample-git.github.io
  • you can not push files to your repository, upload templates, or develop manually.
  • https://jekyllthemes.io/ is an awesome repository for templates.

Google Indexing

  • Adding GitHub Page to google indexing (see the image)
    • now go to the https://search.google.com/search-console/welcome?hl=en&utm_source=wmx&utm_medium=deprecation-pane&utm_content=home
    • take the url prefix for verification (second option)
    • paste your url, you will have a google_verification.html code
    • simply upload it to your github main repository
    • wait a bit, because the github takes some time, then click on the verify in google search console.
  • go to the https://developers.google.com/search
  • Google Analytics: https://analytics.google.com/

GSC_01-min