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