[wp-trac] [WordPress Trac] #15950: Tweak canonical redirect name requests
WordPress Trac
wp-trac at lists.automattic.com
Wed Dec 22 18:09:54 UTC 2010
#15950: Tweak canonical redirect name requests
-------------------------+-----------------------------
Reporter: johnbillion | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Canonical | Version:
Severity: normal | Keywords:
-------------------------+-----------------------------
Scenario: A website has the following two pages:
* `example.com/foo/amazing-thing/`
* `example.com/amazing/`
Upon requesting `example.com/amazin` the canonical redirect should favour
the top-most level page. This doesn't happen as the relevant SQL query
doesn't have an `ORDER BY` clause, making the behaviour unpredictable.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15950>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list