I am trying to make a static website where there isn’t a file extension at the end of the URL.
Instead of mysite.domain/page.html, I want it to be mysite.domain/page
I have seen some solutions on this forum using expressjs with node.js, but I want to know if there’s a way to do it without it because I want the 24/7 uptime that comes with static websites.
Others may have thoughts on it but wouldn’t you just remove the extension from your files? The browser requests a file by it’s name and the extension is part of that name.
Sadly just removing tge file extension will make your browser download the file. The easiest way to do it is move page.html to page/index.html and everything will work