Appending date & author based query vars to a permalink overrides the permalink
|Reported by:||dd32||Owned by:|
|Severity:||normal||Keywords:||needs-testing has-patch needs-unit-tests|
Some canonical code branches are not properly accounting for extra query variables being specified via the url.
For example, these url's are not handled properly:
/2008/?author=1 redirects to /author/admin/ /author/admin/?year=2008 redirects to /year/2008/ /category/uncategorized/?year=2008 redirects to /2008/
This happens with most date based branches, as once a higher priority canonical rule is hit, the permalink component is ignored.
The canonical code includes a branch to add any "forgotten" $_GET variables back onto the url, however this doesn't help when it's the rewritten variables are being lost.
Change History (5)
comment:1 wonderboymusic — 15 months ago
- Keywords needs-testing has-patch added; needs-patch removed
comment:2 wonderboymusic — 4 months ago
- Keywords needs-unit-tests added
- Milestone changed from Future Release to 3.7