[wp-trac] [WordPress Trac] #15950: Tweak canonical redirect name requests

WordPress Trac wp-trac at lists.automattic.com
Wed Dec 22 22:28:38 UTC 2010


#15950: Tweak canonical redirect name requests
-------------------------+-----------------------------
 Reporter:  johnbillion  |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Future Release
Component:  Canonical    |     Version:  3.1
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+-----------------------------

Comment (by dd32):

 This has bugged me before..

 Ideally, My solution would be:

 Take the requested uri, strip the homeurl off it. If it looks like a page,
 AND there is a / in the url, lookup that page, search for children of this
 page which matches the final component of the uri. If no match, revert to
 searching all pages.

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


More information about the wp-trac mailing list