[wp-trac] [WordPress Trac] #20484: Re-enable redirect_canonical for IIS

WordPress Trac wp-trac at lists.automattic.com
Thu Jul 5 19:46:04 UTC 2012


#20484: Re-enable redirect_canonical for IIS
--------------------------+--------------------------
 Reporter:  amattie       |       Owner:  markjaquith
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  3.5
Component:  Canonical     |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  3.5-early     |
--------------------------+--------------------------
Changes (by nacin):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 [21207] (which came from whatever [17492] reverted, I know) has some logic
 issues. If you're on IIS6, you end up with canonical redirects. This is
 quite possibly what the original bug was in #16639...

 What this should be is `|| ( $is_IIS && ! iis7_supports_permalinks() )`.
 Thus, if you're on IIS (any version), you don't get canonical redirects,
 unless you have IIS7 and it supports permalinks.

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


More information about the wp-trac mailing list