π Hugo
First step is to visit: π https://search.google.com/search-console?action=inspect
Add downloaded
googleXXXX.html
to/static
Wait 3-5 minutes for Github Pages to update the site before clicking verify
Add website sitemap via: π https://search.google.com/search-console/sitemaps
Hugo via Github Pages: …user.github.io/sitemap.xml
All that’s left to do is wait in line for the site to be indexed
π Google Search Console > Indexing > Pages > Why pages arenβt indexed
For me it was this URL: …user.github.io/tags/
vim ../config.toml
- Change
enableRobotsTXT = true
toenableRobotsTXT = false
- Change
Upload the following robots.txt to
/static/robots.txt
User-agent: * Disallow: