[wp-trac] [WordPress Trac] #15256: ?cat=## permalinks do not redirect when category is a parent
WordPress Trac
wp-trac at lists.automattic.com
Tue Aug 23 01:07:35 UTC 2011
#15256: ?cat=## permalinks do not redirect when category is a parent
--------------------------+-----------------------
Reporter: froman118 | Owner:
Type: defect (bug) | Status: reopened
Priority: high | Milestone: 3.3
Component: Canonical | Version: 3.0.1
Severity: normal | Resolution:
Keywords: needs-patch |
--------------------------+-----------------------
Comment (by minaguib):
Hi folks
Ran into this on the latest release (version 3.2.1)
The bug is actually not just cosmetic, and in my case it causes serious
breakage.
The breakage occurs if, like in my case, posts have a custom permalink
structure. In my case I use "/places/%postname%"
When that's the case, and there are more than N posts in the category
index requiring pagination, the breakage is as follows:
1. User chooses one of the affected categories, goes to URL /?cat=5 and
does not get redirected to slug
2. User scrolls past N entries, uses pagination to click on page 2
3. User goes to URL: /page/2?cat=5
4. Which is a broken/invalid URL. Instead of seeing the listing for page
2, they see the homepage
It'd be great if this can be fixed in the next release. All my current
options suck (disabling pagination / making the entries-per-page a large
number / removing child categories / disabling pretty permalinks and using
the default /?p=X ).
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15256#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list