How to allow a webpage to be accessible by an ".html" extension in Hugo

Hey all, I have a page which I want to access it with the “.html” at the end of the page, how do I do this?

How can I make it so that this page is accessible by its HTML ending? Thanks!

In the site’s config file, set uglyURLs to true.


Hey, is there a way to do both rather than just one or the other?

I was wrong before, you can do this by setting url in the frontmatter and/or by using an alias: