1<?xml version="1.0" encoding="UTF-8"?>
2<configuration>
3 <system.webServer>
4 <rewrite>
5 <rules>
6 <rule name="Rule 1" stopProcessing="true">
7 <match url="^(.*)/$" ignoreCase="false" />
8 <action type="Redirect" redirectType="Permanent" url="/{R:1}" />
9 </rule>
10 <rule name="Rule 2" stopProcessing="true">
11 <match url="^" ignoreCase="false" />
12 <conditions>
13 <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
14 <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
15 </conditions>
16 <action type="Rewrite" url="index.php" />
17 </rule>
18 </rules>
19 </rewrite>
20 </system.webServer>
21</configuration>