Tag «hide .aspx»

Remove HTML or ASPX Extension in IIS

“In a hosted IIS environment, I am looking for the simplest way to use extension-less file names. Simply I have the following pages: index.html (or .aspx) –> domain.com gallery.html –> domain.com/gallery videos.html –> domain.com/videos etc… “Option 1 – URL Rewrite Use the following code in you web.config file using the IIS7 URL Rewrite Module. For …