title: web.config not working with WordPress permalinks in sub folder
body: <p>I have WP installed on an IIS server in the root folder. This works with pretty permalinks.</p>
  
  <p>There is also another wordpress install at <code>/development</code> which uses the following web.config</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;configuration&gt;
    &lt;system.webServer&gt;
      &lt;rewrite&gt;
        &lt;rules&gt;
              &lt;rule name="WordPress1" patternSyntax="Wildcard"&gt;
                  &lt;match url="*"/&gt;
                      &lt;conditions&gt;
                          &lt;add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true"/&gt;
                          &lt;add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true"/&gt;
                      &lt;/conditions&gt;
                  &lt;action type="Rewrite" url="index.php"/&gt;
              &lt;/rule&gt;&lt;/rules&gt;
      &lt;/rewrite&gt;
      &lt;staticContent&gt;
        &lt;clientCache cacheControlCustom="public" cacheControlMode="UseMaxAge" cacheControlMaxAge="365.00:00:00"/&gt;
        &lt;remove fileExtension=".woff"/&gt;
        &lt;remove fileExtension=".woff2"/&gt;
        &lt;mimeMap fileExtension=".woff" mimeType="application/x-font-woff"/&gt;
        &lt;mimeMap fileExtension=".woff2" mimeType="application/font-woff2"/&gt;
      &lt;/staticContent&gt;
  
    &lt;/system.webServer&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <p>However, pretty permalinks are not working on this site in the subfolder</p>
  
  <p>The home page works however of this sub folder and when plain permalinks are selected</p>
  
  <p>Any ideas why?</p>