[wp-trac] [WordPress Trac] #21209: Pagination on bare category slugs returns 404 errors
WordPress Trac
wp-trac at lists.automattic.com
Mon Jul 16 16:14:42 UTC 2012
#21209: Pagination on bare category slugs returns 404 errors
--------------------------+------------------------
Reporter: nkinkade | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Permalinks | Version: 3.4.1
Severity: normal | Resolution: duplicate
Keywords: |
--------------------------+------------------------
Comment (by georgestephanis):
Yeah, by default
http://mysite/mycat/page/2
would evaluate with the `/%category%/%postname%/` structure to look for a
post with a slug of `page` in a category of `mycat` -- I think ideal on
this would be to hardcode an exception for postname=page so that it can
never be a slug, and will always skip that rule and evaluate down to the
second rule.
Just to confirm this -- try changing your permalink structure to
/%category%/%post_id%-%postname%/ and see if it still catches page as a
404
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21209#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list