Website:
Paste Title:
Colors
Sizes
1
2
3
4
5
6
7
<rewrite> <rules> <!-- https://blog.coates.dk/2018/01/15/lower-casing-rewrite-rules-breaks-the-sitecore-client/ --> <!-- Take redirectType="Temporary" out of production --> <rule name="LowerCaseRule - not including querystring" stopProcessing="true"> <match url="(.*)" /> <conditions> <add input="{PATH_INFO}" pattern=".*[A-Z]" ignoreCase="false" /> <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> <add input="{REQUEST_URI}" pattern="^/(api)" negate="true" /> <add input="{REQUEST_URI}" pattern="^/(sitecore)" negate="true" /> <add input="{REQUEST_URI}" pattern="^/(sitecore modules)" negate="true" /> <add input="{REQUEST_URI}" pattern="^/-/" negate="true" /> <add input="{REQUEST_URI}" pattern=".*(-/media).*" negate="true" /> <add input="{REQUEST_URI}" pattern=".*(~/media).*" negate="true" /> <add input="{REQUEST_URI}" pattern=".*(~/icon).*" negate="true" /> <add input="{REQUEST_URI}" pattern="WebResource.axd" negate="true" /> <add input="{REQUEST_URI}" pattern="ScriptResource.axd" negate="true" /> <add input="{REQUEST_URI}" pattern="jsnlog.logger" negate="true" /> <add input="{REQUEST_URI}" pattern="Telerik.Web.UI.WebResource.axd" negate="true" /> <add input="{REQUEST_METHOD}" matchType="Pattern" pattern="POST" ignoreCase="true" negate="true" /> </conditions> <action type="Redirect" url="/{ToLower:{R:1}}" appendQueryString="true" redirectType="Temporary" /> </rule> </rules> </rewrite>
Password to view?
Enable code highlighting?
No
Yes