Forum

How to omit .html extension

Vladas
15 November 2016, 11:22
Is it possible to access existing webpages.html without the file extension in URL? And how to deploy URL Toolkit to avoid duplicated contents?
Hugo Leisink
15 November 2016, 12:37
Yes, this is the UrlToolkit rule that can do it.
UrlToolkit {
ToolkitID = no_ext
RequestURI exists Return
Match \. Return
Match ^(.*) Rewrite $1.html
}

What do you mean by 'duplicated contents'?
This topic has been closed.