Use correct capture group in IIS7 multisite subdirectory rewrite rules. props carlospaulino, eduplessis, ruslany. fixes #17708.
git-svn-id: https://develop.svn.wordpress.org/trunk@19018 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
d4bbfbad98
commit
86638ed332
@ -455,7 +455,7 @@ define( 'BLOG_ID_CURRENT_SITE', 1 );</textarea>
|
||||
</rule>
|
||||
<rule name="WordPress Rule 5" stopProcessing="true">
|
||||
<match url="^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*)" ignoreCase="false" />
|
||||
<action type="Rewrite" url="{R:2}" />
|
||||
<action type="Rewrite" url="{R:1}" />
|
||||
</rule>
|
||||
<rule name="WordPress Rule 6" stopProcessing="true">
|
||||
<match url="^([_0-9a-zA-Z-]+/)?(.*\.php)$" ignoreCase="false" />
|
||||
|
@ -1739,7 +1739,7 @@ class WP_Rewrite {
|
||||
</rule>
|
||||
<rule name="wordpress - Rule 5" stopProcessing="true">
|
||||
<match url="^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*)" ignoreCase="false" />
|
||||
<action type="Rewrite" url="{R:2}" />
|
||||
<action type="Rewrite" url="{R:1}" />
|
||||
</rule>
|
||||
<rule name="wordpress - Rule 6" stopProcessing="true">
|
||||
<match url="^([_0-9a-zA-Z-]+/)?(.*\.php)$" ignoreCase="false" />
|
||||
|
Loading…
Reference in New Issue
Block a user