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

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=" /sitemap.xsd">
<!--  created with Free Online Sitemap Generator www.xml-sitemaps.com  -->
<url>
<loc>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</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)

Leave a Comment

Your email address will not be published. Required fields are marked *