[wp-trac] [WordPress Trac] #20203: To return 404 page when user request not existing category and existing at once (in URL)

WordPress Trac noreply at wordpress.org
Tue Jun 16 04:11:28 UTC 2015


#20203: To return 404 page when user request not existing category and existing at
once (in URL)
-------------------------+------------------------
 Reporter:  egorpromo    |       Owner:
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:
Component:  Taxonomy     |     Version:  3.3.1
 Severity:  normal       |  Resolution:  duplicate
 Keywords:               |     Focuses:
-------------------------+------------------------
Changes (by boonebgorges):

 * status:  new => closed
 * resolution:   => duplicate
 * milestone:  Awaiting Review =>


Comment:

 If the issue being reported here is that
 `http://mysite.com/category/category1+notexisting` queries for posts that
 match *both* terms (rather than neither term), then it's not a bug, but
 expected behavior.

 If the issue being reported is that an archive with no posts returns 200
 rather than 404, then this is indeed a duplicate of #11348.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/20203#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list