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

WordPress Trac wp-trac at lists.automattic.com
Tue Feb 16 07:14:15 UTC 2010


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

Comment(by miqrogroove):

 Replying to [comment:17 jdingman]:
 > +1, if a post doesn't exist, it should return 404 as the status code,
 not 200, which it currently does

 If I can get support for this issue on posts but not categories, I will
 take what I can get.

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


More information about the wp-trac mailing list