Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <rule name="Remove www" stopProcessing="true">
- <match url="(.*)" ignoreCase="true"></match>
- <conditions logicalGrouping="MatchAll">
- <add input="{HTTP_HOST}" pattern="^www\.(.+)$"></add>
- </conditions>
- <action type="Redirect" url="http://{C:1}/{R:0}" appendQueryString="true" redirectType="Permanent"></action>
- </rule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement