[wp-trac] [WordPress Trac] #10187: wp_redirect doesn't work as expected on IIS

WordPress Trac wp-trac at lists.automattic.com
Tue Dec 15 18:11:08 UTC 2009


#10187: wp_redirect doesn't work as expected on IIS
----------------------------+-----------------------------------------------
 Reporter:  peaceablewhale  |        Owner:  westi   
     Type:  defect (bug)    |       Status:  assigned
 Priority:  normal          |    Milestone:  3.0     
Component:  General         |      Version:  2.8     
 Severity:  normal          |   Resolution:          
 Keywords:  has-patch       |  
----------------------------+-----------------------------------------------
Changes (by ruslany):

  * keywords:  has-patch needs-review => has-patch
  * owner:  => westi
  * status:  reopened => assigned
  * milestone:  Future Release => 3.0


Comment:

 Verified the latest patch on Windows 7 with IIS 7.5. It works as expected.

 Note that at the moment there is a bug in IIS FastCGI module in IIS 5.1,
 IIS 6.0 and IIS 7.0 which causes all redirect calls from PHP to have
 status code 302. The update for the FastCGI module with the fix for this
 will be available soon. But I think the patch should be applied anyway,
 even before the IIS FastCGI bug is fixed. That way WP will start using
 proper redirects instead of refresh header. Users who have not updated IIS
 FastCGI will see HTTP 302 redirects (which is still better than refresh
 header). User who have updated the IIS FastCGI will see HTTP 301
 redirects.

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


More information about the wp-trac mailing list