Rewrite rules on IIS
-
Hi
WordPress network setup on IIS 8.5 using subdirs. Rewrite rules 4 and 5 as suggested by setup do not work for me.
Following works. I have to increase the references by one Rule 4 {R:1} => {R:2} and Rule 5 {R:2} => {R:3}
<rule name="WordPress Rule 4" stopProcessing="true"> <match url="^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*)" ignoreCase="false" /> <action type="Rewrite" url="{R:2}" /> </rule> <rule name="WordPress Rule 5" stopProcessing="true"> <match url="^([_0-9a-zA-Z-]+/)?([_0-9a-zA-Z-]+/)?(.*\.php)$" ignoreCase="false" /> <action type="Rewrite" url="{R:3}" /> </rule>
I have installed 4.2.4, but the code in wp-admin/network.php has not changed in 4.3 as far as I can see (around line 491 and 495).
Frank
PS: Found older messages about rewrite problems on IIS, but the patterns have changed since
https://www.ads-software.com/support/topic/iis-75-multisite-subdirectory-webconfig-rewrite-rules?replies=10
https://www.ads-software.com/support/topic/multisite-install?replies=4#post-2198998
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Rewrite rules on IIS’ is closed to new replies.