Last active
October 8, 2015 09:49
-
-
Save ni5ni6/3314810 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <rule name="Canonical Host Name" stopProcessing="true"> | |
| <match url="(.*)" /> | |
| <conditions> | |
| <add input="{HTTP_HOST}" pattern="^www\.(.*)" /> | |
| </conditions> | |
| <action type="Redirect" url="http://{C:1}/{R:1}" redirectType="Permanent" /> | |
| </rule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment