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

Mev-Rael's photo

You have 3 options:

  1. create a directory per each page and name a directory you would like to see it in the URL and put this page's file into it, and name it index.html, for example about.html > buy-products-from-me/index.html
  2. Install and use any CMS.
  3. Today there are many Online website builders available such as Froont, WiX

However, I would recommend to learn basics of Web development and some HTTP preprocessor such as PHP, also CLI, unix, nginx and Git, and you will be able to create own website and even easily deploy it with git. You may host private repositories on GitLab or for a small fee - on GitHub.