[wp-trac] [WordPress Trac] #21209: Pagination on bare category slugs returns 404 errors

WordPress Trac wp-trac at lists.automattic.com
Mon Jul 16 17:03:10 UTC 2012


#21209: Pagination on bare category slugs returns 404 errors
--------------------------+-----------------------
 Reporter:  nkinkade      |       Owner:
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  3.4.2
Component:  Permalinks    |     Version:  3.4.1
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+-----------------------

Comment (by nkinkade):

 Thanks for checking into this a bit more.  I was writing a reply on the
 closed ticket when I noticed you had updated the ticket, so I trashed the
 reply.  I was going to mention that our permalink structure is not
 actually /%category%/%pagename%/, but instead:

 /%category%/%year%/%monthnum%/%day%/%post_id%

 ... and it is with that permalink structure that we're seeing the issue.
 Just after opening this ticket I committed
 [http://code.creativecommons.org/viewsvn/ccwordpress/branches/production/www
 /wp-
 content/plugins/cc_permalink_mapper.php?r1=15629&r2=15628&pathrev=15629 a
 small fix] to a custom plugin we have.  It is partly what you've got
 above, but adding a couple more to account for each part of the path of
 our permalink structure.

 As far as the [http://wordpress.org/extend/plugins/no-category-base-wpml/
 WP No Category Base] plugin, I tried that with 3.4, before 3.4.1 was
 released, and it gave us some unexpected results, like showing a category
 archive on pages which should have been showing a page (via page slug),
 and some other weirdness, so I bailed on it, not trusting that the dozens
 and dozens of rewrites rules it was creating were going to behave in
 predictable ways.

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


More information about the wp-trac mailing list