Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <rewrite>
- <rules>
- <rule name="Redirect from test to start" enabled="true">
- <match url = "^test"/>
- <conditions>
- <add input="{REQUEST_URI}" pattern="test" />
- </conditions>
- <action type="Redirect" url ="start" />
- </rule>
- <rule name="Robots" stopProcessing="true">
- <match url="(.*)robots\.txt" />
- <action type="Rewrite" url="/Controls/Resource/GetFile?code=robots" />
- </rule>
- <rule name="Sitemap.xml" stopProcessing="true">
- <match url="(.*)sitemap\.xml" />
- <action type="Rewrite" url="/Controls/Resource/GetFile?code=sitemap" />
- </rule>
- </rules>
- </rewrite>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement