Rewrite Rules: Allow rewrite rules to work in nested WordPress installations on IIS.

Props WiZZarD_
Fixes #35558


git-svn-id: https://develop.svn.wordpress.org/trunk@36953 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn 2016-03-10 20:00:05 +00:00
parent 93942d330e
commit d9a7db711e

View File

@ -1594,7 +1594,7 @@ class WP_Rewrite {
}
$rules .= '
<rule name="wordpress" patternSyntax="Wildcard">
<rule name="WordPress: ' . esc_attr( home_url() ) . '" patternSyntax="Wildcard">
<match url="*" />
<conditions>
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />