Always always always remember to run
env HUGO_ENV="production" hugo (or the equivalent on your system) rather than just plain
hugo. It is possible that running
hugo will write the files in
development mode, which puts NOCRAWL, NOINDEX tags on every page. These tags will prevent search engines from crawling your site. For Windows, it should be
If you have your site hosted on AWS (like me!), the AWS command line is by far the simplest way to get everything uploaded to the s3 bucket.
aws s3 sync . s3://my-bucket/ --acl public-read
This command will upload only the changed files and replace the outdated version on s3.
A related point: always verify the public permissions for the site!