Serving a site from AWS Amplify I noted a problem that all my category pages just looked like the home page. I thought this may be a template issue or something but I downloaded the artifacts and confirmed that the pages were being formed as they should have.
I narrowed down the problem to routing.
For example http://example.com/some-uri
returns a page, that is actually my homepage not a 404 and not a redirect to my homepage. However http://example.com/some-uri/
routes to the correct resource, for example /some-uri/index.html
.
This behaviour kind of puts me off using pretty permalinks as my development server does not require the trailing /.
I have worked around this by serving my page from
/some-uri.html
not/some-uri/index.html
and will post a more comprehensive answer if I work out how it all works.