Last active
August 29, 2015 14:17
-
-
Save NathalieLarsson/6fd5b225054c3c5bce8e to your computer and use it in GitHub Desktop.
Umbraco Config Redirect
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
<rewrite> | |
<rules> | |
<rule name="Redirect till www.domain.se" enabled="true" stopProcessing="true"> | |
<match url="(.*)" /> | |
<conditions> | |
<add input="{HTTP_HOST}" pattern="^www\.domain\.se$" negate="true" /> | |
</conditions> | |
<action type="Redirect" url="http://www.domain.se/{R:1}" /> | |
</rule> | |
</rules> | |
</rewrite> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment