How to remove .html extension in Jekyll

Yashu Mittal
1 min readAug 14, 2018

--

Removing .html especially in Jekyll is very easily, you don’t have to use .htaccess for this.

Jekyll permalink

Make sure you need to understand the ☝☝☝ above table to use permalink.

To customize the permalink:

  1. Open your _config.yml
  2. Add permalink: /:title/ (To show title in the URL www.mysite.com/my-first-post)

You can choose URL Template as you wish.

NOTE: Just don’t forget to add a forward slash / at the end of the permalink.

--

--