<?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <system.webServer>
    <staticContent>
      <mimeMap fileExtension=".webp" mimeType="image/webp"/>
      <mimeMap fileExtension=".avif" mimeType="image/avif"/>
    </staticContent>
    <defaultDocument>
      <files>
        <clear/>
        <add value="index.php"/>
      </files>
    </defaultDocument>
    <rewrite>
      <rules>
        <clear/>
        <rule name="WordPress Rule" stopProcessing="true">
          <match url=".*"/>
          <conditions logicalGrouping="MatchAll" trackAllCaptures="false">
            <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true"/>
            <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true"/>
          </conditions>
          <action type="Rewrite" url="index.php"/>
        </rule>
      </rules>
      <outboundRules>
        <clear/>
      </outboundRules>
    </rewrite>
  </system.webServer>
</configuration>
