Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <configuration>
- <system.webServer>
- <rewrite>
- <rules>
- <rule name="Redirect to WWW" stopProcessing="true">
- <match url=".*" />
- <conditions>
- <add input="{HTTP_HOST}" pattern="^domain.com$" />
- </conditions>
- <action type="Redirect" url="http://www.domain.com/{R:0}" redirectType="Permanent" />
- </rule>
- </rules>
- </rewrite>
- </system.webServer>
- </configuration>
Add Comment
Please, Sign In to add comment