D
D
Develm2015-11-10 08:36:05
IIS
Develm, 2015-11-10 08:36:05

How to remove the .html extension?

How to hide .html file extension on IIS 8? So that the links would look like site.ru/about . On Apache, this is done easily (htaccess), and here Google is already purple, I dug up what is possible through web.config, but there are no examples. I also found that it is possible with the help of Matching handlers, but there is also a forest there.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Eugene, 2015-11-10
@Develm

as far as I understand you need IIS URL Rewrite module
and as example config :
stackoverflow.com/questions/4481632/remove-html-or...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question