Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Relative links between html docs

Hi yall!

Just started learning to use GCP for hosting a static website for my thesis project. So far, I've managed to set everything up correctly, and the website is live. However, I cannot for the life of me figure out why the relative links between HTML docs and CSS don't work.

In my index.html I have a <a href="./other.html"> and it works fine in VSCode but just returns a 404 on the live page. Similarly, this didn't work for the CSS but I could solve that by linking the storage URL instead of the relative path.

Is this something that isn't possible with this stack or have I missed something this basic because I really cant find an answer.

Thanks in advance

0 2 1,010