-
-
Notifications
You must be signed in to change notification settings - Fork 365
π SEO
Alexander Bilz edited this page Feb 10, 2022
·
1 revision
To use Google Site Verification, add the following line:
[params]
googleSiteVerify = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
Replace the hash with the one Google provided you.
If you want Hugo to generate a robots.txt, you will have to set the enableRobotsTXT
in the config.toml
to true
. By default, a robots.txt, which allows search engine crawlers to access to any page, will be generated. It will look like this:
User-agent: *
If certain sites should be excluded from being accessed, you might want to set up a custom robots.txt file within your static
folder of your site.