[wp-trac] [WordPress Trac] #18190: Don't redirect to 404 page on empty post archives

WordPress Trac wp-trac at lists.automattic.com
Thu Jul 21 09:05:41 UTC 2011


#18190: Don't redirect to 404 page on empty post archives
--------------------------+-----------------------------
 Reporter:  gazpachu      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  3.2.1
 Severity:  normal        |   Keywords:  needs-patch
--------------------------+-----------------------------
 "../archive/2010/09/29" redirects to a 404 Error because there are no
 posts that day.

 If there are no posts, it shouldn't redirect to a 404 page. It should let
 the user perform the loop and show a message like this:

 "Sorry, there are no posts for that date"

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


More information about the wp-trac mailing list