How to have custom URL and remove .html extension without Wordpress?

View other answers to this thread
Start a personal dev blog on your domain for free and grow your readership.

3.4K+ developers have started their personal blogs on Hashnode in the last one month.

Write in Markdown · Publish articles on custom domain · Gain readership on day zero · Automatic GitHub backup and more

Asma Moosagie's photo

A tutorial on Youtube by mmtuts explain it very well using an .htaccess file.

youtube.com/watch?v=zJxCq6D14eM

youtube.com/watch?v=-6LyG9I-FPc