Photo by Edho Pratama on Unsplash
First go to Google Search Console add a property:
Put your GitHub page in the right side then upload the verification file to your Repo
Make sure you have all SE-friendly meta data on your page.
For example, mine will be:
Sitemap
Created with Free Online Sitemap Generator www.xml-sitemaps.com
or manually create a one in format like https://chienhsiang-hung.github.io/sitemap.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
| <?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="[http://www.sitemaps.org/schemas/sitemap/0.9](http://www.sitemaps.org/schemas/sitemap/0.9)" xmlns:xsi="[http://www.w3.org/2001/XMLSchema-instance](http://www.w3.org/2001/XMLSchema-instance)" xsi:schemaLocation="[http://www.sitemaps.org/schemas/sitemap/0.9](http://www.sitemaps.org/schemas/sitemap/0.9) [http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd](http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd)">
<!-- created with Free Online Sitemap Generator [www.xml-sitemaps.com](http://www.xml-sitemaps.com/) -->
<url>
<loc>[https://chienhsiang-hung.github.io/](https://chienhsiang-hung.github.io/)</loc>
<lastmod>2022-07-21T15:22:03+00:00</lastmod>
<priority>1.00</priority>
</url>
<url>
<loc>[https://chienhsiang-hung.github.io/pyscript/pyscript-hello-world](https://chienhsiang-hung.github.io/pyscript/pyscript-hello-world)</loc>
<lastmod>2022-07-21T15:03:58+00:00</lastmod>
<priority>0.80</priority>
</url>
</urlset>
|
Then submit to google search console. Congratulations. You’ve taken a very first step toward the SEO perfection of your github.io page. Isn’t that easy?
Contact me: Hung, Chien-Hsiang (chienhsiang-hung.github.io)