Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Get Github Pages Site found in Google Search Results

I have a site built with Jekyll Now on GitHub and I want it to appear in a google search. If I just google my GitHub username followed by 'GitHub' and 'io', it does not find my site. How do I get google to find my site in a google search?

like image 773
Benjamin Sommer Avatar asked Mar 02 '18 16:03

Benjamin Sommer


People also ask

Can GitHub Pages indexed by Google?

They are indexed/ranked by Google just like any other domain/sub-domain and there is no difference. You can check if it is indexed by typing in google "site:http://your-url.com". For example this would make sure if Font Awesome Github page is indexed: "site:http://fortawesome.github.io/Font-Awesome/".

Is GitHub Pages good for SEO?

If your blog or product landing page is using GitHub Pages, it can now be optimized for SEO. By adding a simple {% seo %} to your site, GitHub will automatically add SEO metadata to each page. It even accounts for the page title, in addition to the description, canonical URL, next (and previous) URL and post metadata.

How do you find your GitHub Pages link?

The GitHub Pages repository URL is always https://{userid}.github.io/{reponame} The GitHub Pages URL is based on the GitHub repo URL, and takes the format https://{userid}.github.io/{reponame} . The moment you use it, GitHub Pages will generate a website based on the contents of your repo.

How do I search pages on GitHub?

To search within a particular repository or organization, navigate to the repository or organization page, type what you're looking for into the search field at the top of the page, and press Enter.


2 Answers

You have to create a Google Search Console account and add your page, then typically you just drop a "marker" file in the root (Search Console generates this) so that Google can confirm you really own the page.

Google Search Console

Instructions

(Since the instructions are long and have many links to sub-steps, I'm only providing the link.)

Also, if you're going to use a registered domain name, set that up before you register the site for search.

(Edit: Technically you don't have to do this, sooner or later Google will find you... but this will give your content a much higher-quality score.)

like image 156
McGuireV10 Avatar answered Nov 15 '22 15:11

McGuireV10


It can take a few days before the site is indexed by search engines. Google for google index site and you will find quite a lot of information about the process and how it can be speed up.

like image 30
jdno Avatar answered Nov 15 '22 17:11

jdno