[wp-trac] [WordPress Trac] #12973: Multisite and IIS7 - permalinks change, the web.config problem

WordPress Trac wp-trac at lists.automattic.com
Mon Apr 19 18:22:23 UTC 2010


#12973: Multisite and IIS7 - permalinks change, the web.config problem
---------------------------+------------------------------------------------
 Reporter:  Frumph         |       Owner:  ryan
     Type:  defect (bug)   |      Status:  new 
 Priority:  high           |   Milestone:  3.0 
Component:  Rewrite Rules  |     Version:  3.0 
 Severity:  blocker        |    Keywords:      
---------------------------+------------------------------------------------

Comment(by Frumph):

 Replying to [comment:6 ruslany]:
 > The patch for this bug http://trac.mu.wordpress.org/ticket/991 used to
 take care of this problem. It was checked in to WPMU last year. But it
 looks like the latest version of WPMU reverted back to the old code and
 because of that this problem happens. The line in question is in /wp-
 admin/include/misc.php
 >
 > $rules =
 $xpath->query('/configuration/system.webServer/rewrite/rules/rule[@name=\'wordpress\']');
 >
 > It should be $rules =
 $xpath->query('/configuration/system.webServer/rewrite/rules/rule[starts-
 with(@name,\'wordpress\')]');


 This does not fix the issue.   It appears that it's not checking if the
 rules pre-exist.

 If I delete the web.config before hitting the permalinks -save it saves
 again.

 Unfortunately I need it to check if the rules pre-exist since i have some
 custom rules.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12973#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list