[wp-trac] [WordPress Trac] #8905: Category pagination broken with certain permalink structures

WordPress Trac noreply at wordpress.org
Wed Oct 31 18:56:38 UTC 2012


#8905: Category pagination broken with certain permalink structures
--------------------------+-----------------------------
 Reporter:  rmccue        |       Owner:  ryan
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  Future Release
Component:  Permalinks    |     Version:  2.7
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |
--------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * keywords:   => needs-patch
 * status:  closed => reopened
 * resolution:  worksforme =>
 * milestone:   => Future Release


Comment:

 This ticket is about category pagination, not single post pagination.

 As noted in #21209, the issue still can be reproduced with bare category
 slugs:

 1. Set permalink structure to `/%category%/%postname%/`.
 2. `http://mysite/mycat/page/2` gives a 404 error.

 Debug Bar info:
 {{{
 Request: mycat/page/2
 Query String: page=%2F2&name=page&category_name=mycat
 Matched Rewrite Rule: (.+?)/([^/]+)(/[0-9]+)?/?$
 Matched Rewrite Query: category_name=mycat&name=page&page=%2F2
 }}}

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


More information about the wp-trac mailing list