Решение:

<rule name="Cannonical Hostname">
<match url="(.*)" />
<conditions logicalGrouping="MatchAll">
<add input="{HTTP_HOST}" pattern="^snaphost\.com/reg/$" negate="true" />
<add input="{HTTPS}" pattern="off" />
<add input="{REQUEST_URI}" pattern="(.*)reg/cs(.*)" />
<add input="{REQUEST_URI}" pattern="(.*)reg/policy.aspx" />
<add input="{REQUEST_URI}" pattern="(.*)reg/contact.aspx" />
</conditions>
<action type="Redirect" url="https://www.snaphost.com/reg/{R:1}" />
</rule>

 

Опубликовано в ASP.NET