This is my current root:
main
→ index.html
→ page1.html
I would like to navigate the user on page1.html
when a button
is clicked. However, what I don't want here is the url to have page1.html
. It should rather have page1
For example, look at this link from discord: https://discord.com/app
They don't have /app.html
but rather /app
which makes it easier for users to understand navigations. Similarly for https://stackoverflow.com/tags.
I would like to achieve this using pure HTML
and/or JS
. I'm looking for the most efficient and fastest methods to achieve this.