[wp-trac] [WordPress Trac] #11348: Archive Page Should be 404.php When !have_posts()

WordPress Trac wp-trac at lists.automattic.com
Mon Dec 7 02:31:23 UTC 2009


#11348: Archive Page Should be 404.php When !have_posts()
--------------------------+-------------------------------------------------
 Reporter:  miqrogroove   |       Owner:  ryan 
     Type:  defect (bug)  |      Status:  new  
 Priority:  normal        |   Milestone:  2.9  
Component:  Query         |     Version:  2.8.4
 Severity:  normal        |    Keywords:       
--------------------------+-------------------------------------------------

Comment(by filosofo):

 I don't think a 404 response is appropriate for an existing but empty
 category.  According to the HTTP protocol, a 404 means "The server has not
 found anything matching the Request-URI."  But in the case of an empty
 category, it ''has'' found something: that URI corresponds to the
 requested category.

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


More information about the wp-trac mailing list