How to make your GitHub Pages website searchable by Google
May 8, 2020
- Add a new property on https://search.google.com/search-console
- Add the URL to the GitHub Pages property, e.g., https://zozo123.github.io/
3. Choose ownership verification with HTML tag
3. Copy your unique meta HTML tag and update the following HTML example
<html>
<head>
<meta name=”google-site-verification” content=”wclbXWO0oecOg_Po_1NdpPk5qkm6AkYR4raYBbvrOdc” />
</head>
</html>
4. Create a file named index.html on the root directory of the GitHub Pages repository and copy the content from step 3
5. Click Verify, and in a few days, Google will index the URL
6. Remove index.html from the GitHub repository