Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi all,
I'm trying to write an IIS redirect for lowercase which excludes Umbraco pages.
I have tried the following without any luck:
<rule name="LowerCaseRule1" stopProcessing="true"> <match url="[A-Z]" ignoreCase="false" /> <action type="Redirect" url="{ToLower:{URL}}" /> <conditions logicalGrouping="MatchAny"> <add input="{REQUEST_URI}" pattern="/umbraco" /> </conditions> </rule> <rule name="LowerCaseRule1" stopProcessing="true"> <match url="[A-Z]" ignoreCase="false" /> <action type="Redirect" url="{ToLower:{URL}}" /> <conditions logicalGrouping="MatchAny"> <add input="{REQUEST_URI}" pattern="^/umbraco/*" /> </conditions> </rule>
Could anyone point me in the right direction? I want to exclude /umbraco and all urls with this.
Thanks, Lewis
Hey Lewis,
Looks like you are almost there. This is the Lower Case rule I use:
<rule name="LowerCaseRule1" stopProcessing="true"> <match url="[A-Z]" ignoreCase="false" /> <conditions logicalGrouping="MatchAll" trackAllCaptures="false"> <add input="{URL}" pattern="/umbraco" negate="true" /> </conditions> <action type="Redirect" url="{ToLower:{URL}}" /> </rule>
Cheers
Nik
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
IIS Redirect for Lowercase
Hi all,
I'm trying to write an IIS redirect for lowercase which excludes Umbraco pages.
I have tried the following without any luck:
Could anyone point me in the right direction? I want to exclude /umbraco and all urls with this.
Thanks, Lewis
Hey Lewis,
Looks like you are almost there. This is the Lower Case rule I use:
Cheers
Nik
is working on a reply...