thecadams / 301RedirectModule

An improved version of the Sitecore 301 redirect module by Chris Castle, available at http://trac.sitecore.net/301RedirectModule
MIT License
30 stars 67 forks source link

Will this redirect urls ending with .html? #14

Open maheshbhide opened 8 years ago

thecadams commented 8 years ago

Hi @maheshbhide - thanks for sending through the question! I believe by default (for performance) IIS is configured to serve requests with a .html suffix from disk. Because this is specific to your configuration I recommend you test it with your site or by setting up a new IIS based site.

The regex support will handle every request that is configured to be sent to Sitecore, so you'd have to configure something like:

/my/path(.html)?

Hope that helps, Chris.