Removing .html Extension
// From
example.com/content.html
// to
example.com/content
How to remove .html extension from URL of a static page ?
All the pages on the website have a structure that is given by HTML. HTML provides the structure to content, text, tables, headings, and lists on the webpage which makes the page easy to read. While saving an HTML document it has an extension as .html. Therefore, the URL of the website has a .html extension. The .html extension can be easily removed by editing the .htaccess file.