How to verify Hugo site to Google Search Console?

How can I verify my website with Google Search Console?
I do not know where to put my HTML downloaded from the search console.
Also, my site is hosted on Netlify.

Not sure about netlify because I never used it, but in my case I placed the file in /content/ and it worked. Putting it in /static/ should also get you the same result.


Just put the file in the root of /static and re-publish. You can confirm by simply accessing it at the root of your site.


Thanks! I put the file in static and content folder, and it is working now. I guess I need to publish it after deploying to Netlify.

If you’re already doing the file method, then that’s fine.

In the future, the two easiest ways is via Google Analytics if you’re already using it, or DNS.