AWS requires explicit page links to index.html for all s3 directories within a bucket. The hugo default links for the ananke theme are to a directory, such as /topic, without the fully qualified path /topic/index.html. How do I modify the theme so that the hugo-generated site includes fully qualified paths?
Probably something like a rewrite. I don’t have experience with AWS, but the following link points to a rewrite tool:
That would mean something like "rewrite /bla/fasel
to /bla/fasel/index.html
.
May be you can try this in your config.toml
. Not sure tho.
uglyurls = true
Yes, that worked! Thank you.
Thanks, Amplify does enable redirects. So there are two ways to solve the issue.