I recently found out how to remove the
.htm) extensions in the URL for HTML files, but without an .htaccess file!
It’s actually pretty simple to do, and I’m surprised I haven’t seen this tutorial anywhere. You just need to utilize
index.html files in folders (I think you get where I’m going now) like below.
After you’ve created the HTML file and have all the code in it that you want, go to that page but don’t include the
index.html, and watch in amazement as there’s no file extension; or an ending
/! (depending on if you include that or not)
If there’s something you didn’t understand or need help with I’ll do my best to help. This was pretty short and I’m not the best at explaining things