[wp-trac] Re: [WordPress Trac] #8974: WordPress permalinks settings page should work with IIS 7.0 URL Rewrite Module

WordPress Trac wp-trac at lists.automattic.com
Fri Feb 27 06:32:25 GMT 2009


#8974: WordPress permalinks settings page should work with IIS 7.0 URL Rewrite
Module
-------------------------+--------------------------------------------------
 Reporter:  ruslany      |       Owner:  westi                        
     Type:  enhancement  |      Status:  assigned                     
 Priority:  normal       |   Milestone:  2.8                          
Component:  Permalinks   |     Version:  2.8                          
 Severity:  normal       |    Keywords:  permalinks, reporter-feedback
-------------------------+--------------------------------------------------

Comment(by ruslany):

 The patch contains modifications to the following files:
 1. /wp-admin/includes/misc.php – added functions to add and remove rewrite
 rules to/from IIS configuration file
 2. /wp-admin/options-permalinks.php – changed the page rendering logic so
 that it displays “pretty permalinks” options if IIS has URL rewriter
 installed. Also added logic to render different messages when user saves
 permalinks configuration when IIS with URL rewriter is used.
 3. /wp-includes/functions.php – added function to determine if URL
 rewriter is installed and loaded in IIS
 4. /wp-includes/rewrite.php – added function that generates IIS rewrite
 rules
 5. /wp-includes/vars.php – added a variable that is used to check if IIS 7
 is used.

 I have tested the patch on Windows Server 2008 with IIS 7 and URL rewrite
 module installed. I tested it with PHP 5.2.8 and PHP 5.2.9.

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


More information about the wp-trac mailing list