In a hosted IIS7 environment, I am looking for the simplest way to use extension-less file names. Simply I have the following pages:
index.html
(or.aspx
) -->example.com
gallery.html
-->example.com/gallery
videos.html
-->example.com/videos
- etc...
I only have a handful of pages, I have no dynamic code, nothing special. All the examples I have found or methods I use in other sites I've developed revolve around dynamic content, pages, etc. I am simply looking for the simplest solution, ideally not requiring any sort of URL rewrite module installed. Preferably, I could keep the .html
extension instead of converting the site to a ASP.NET project, but that is an option.