Routing for static serverless sites


I have not enabled any server as i want to make a simple static website and host it on a cdn.
I want my links to be without any file extensions for example mysite/login instead of mysite/login.html

I read that i need routing for this . However there is no routing option in the project settings.


The easiest way to do this is to create a folder for each of the pages which includes an index.html page containing the content. The anchor tag will look like.

<a href="login/">login</a>
1 Like