[wp-testers] web.config again (more info)
Philip M. Hofer (Frumph)
philip at frumph.net
Sun Jan 2 15:31:35 UTC 2011
When the permalinks are changed, and the web.config is recreated (it shouldn't cause there's even custom ones that disappear)
This is omitted on the update:
<rule name="wordpress - 1" stopProcessing="true">
<match url="^(.*/)?files/$"/>
<action type="Rewrite" url="index.php"/>
</rule>
The rule that is the wordpress -2 one
<rule name="wordpress - 2" stopProcessing="true">
<match url="^(.*/)?files/(.*)"/>
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_URI}" pattern=".*wp-content/plugins.*" negate="true"/>
</conditions>
<action type="Rewrite" url="wp-includes/ms-files.php?file={R:2}" appendQueryString="false"/>
</rule>
^ that doesn't catch the files directory properly
More information about the wp-testers
mailing list