[wp-trac] [WordPress Trac] #10930: Wordpress incorrectly returns a 200 on a 404

WordPress Trac wp-trac at lists.automattic.com
Thu Oct 8 08:38:32 UTC 2009


#10930: Wordpress incorrectly returns a 200 on a 404
--------------------------+-------------------------------------------------
 Reporter:  dtsn          |       Owner:  dd32      
     Type:  defect (bug)  |      Status:  new       
 Priority:  normal        |   Milestone:  Unassigned
Component:  HTTP          |     Version:  2.8.4     
 Severity:  normal        |    Keywords:  404       
--------------------------+-------------------------------------------------
 Wordpress is incorrectly returning a 200 status code on a 404 (or a
 possible 403).

 Any URL ending with a ?p=<post id which doesn't exist> returns a 200
 instead of a 404. Or if it is a preview post it should return a 403,
 Forbidden.

 For example:

 http://mashable.com/?p=23489675213948613209486
 http://www.techcrunch.com/?p=160900
 http://www.mattcutts.com/blog/?p=160900
 http://yoast.com/?p=160900

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10930>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list