1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
| <?xml version="1.0" encoding="UTF-8"?> <configuration> <system.webServer> <rewrite> <rules> <rule name="301" stopProcessing="true"> <match url="^(.*)$" ignoreCase="false" /> <conditions logicalGrouping="MatchAny"> <add input="{HTTP_FROM_HTTPS}" pattern="^on$" negate="true" /> <add input="{HTTP_HOST}" pattern="^www.idiyrom.com$" negate="true" /> </conditions> <action type="Redirect" url="https://www.idiyrom.com/{R:1}" redirectType="Permanent" /> </rule> </rules> </rewrite> </system.webServer> </configuration>
|