[wp-trac] [WordPress Trac] #43544: Pages over 999 in archive return 404

WordPress Trac noreply at wordpress.org
Mon Mar 19 16:21:27 UTC 2018


#43544: Pages over 999 in archive return 404
-------------------------------+------------------------------
 Reporter:  catalinnita        |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Taxonomy           |     Version:  4.9.4
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------

Comment (by catalinnita):

 the problematic rule is

 {{{
 [(.+?)/([0-9]{4})/?$] =>
 index.php?category_name=$matches[1]&year=$matches[2]
 }}}

 in my rules list it's before ( uncategorized is the category I am testing
 with )

 {{{
 [(uncategorized)/page/?([0-9]{1,})/?$] =>
 index.php?category_name=$matches[1]&paged=$matches[2]
 }}}

 setting the first rule at the end of the rules array it solves the issue.

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


More information about the wp-trac mailing list