[wp-trac] [WordPress Trac] #6779: domain.com to www.domain.com redirect is a 302 redirect

WordPress Trac wp-trac at lists.automattic.com
Tue Dec 8 09:54:00 UTC 2009


#6779: domain.com to www.domain.com redirect is a 302 redirect
--------------------------+-------------------------------------------------
 Reporter:  Analogpoint   |        Owner:  anonymous
     Type:  defect (bug)  |       Status:  reopened 
 Priority:  normal        |    Milestone:  2.9      
Component:  Permalinks    |      Version:  2.9      
 Severity:  normal        |   Resolution:           
 Keywords:  has-patch     |  
--------------------------+-------------------------------------------------
Changes (by error):

  * status:  closed => reopened
  * component:  General => Permalinks
  * version:  2.5 => 2.9
  * milestone:  => 2.9
  * keywords:  => has-patch
  * resolution:  wontfix =>


Comment:

 This is still a serious issue. At the time this was originally opened
 there was no good fix. Now that WP requires PHP 4.3 or later, a good fix
 is available: use the http_response_code parameter in the PHP header()
 call which was added in 4.3. A patch is attached. This is working for me
 on my nginx/fastcgi setup.

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


More information about the wp-trac mailing list