How do I remove .html from my url?

Hi! Before you post here:

  • Are you sure this doesn’t belong in #Netlify-support, #admin, or #opentalk?
  • Please include relevant information on what you are trying to do, what isn’t working, and what you have tried.
  • Did you use the search or look through our Common Issues before posting?

Hi guys,

How can I remove .html extension from my url.
For example I want the url to display : https://kingsleyibe.net/about
Instead of https://kingsleyibe.net/about.html. And for every other page.

Thanks.

Hi @Kingsleyibe

Have a look in your build settings under Post processing (docs) under which you will find a Asset Optimization which includes pretty URLs.

2 Likes

Oh great! it worked.

Thank you so much.

1 Like