[wp-trac] [WordPress Trac] #18734: Subcategory archive does work with any name as parent category in URL

WordPress Trac wp-trac at lists.automattic.com
Wed Sep 21 15:10:47 UTC 2011


#18734: Subcategory archive does work with any name as parent category in URL
--------------------------+-----------------------------
 Reporter:  ocean90       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Canonical     |    Version:  3.1
 Severity:  normal        |   Keywords:  dev-feedback
--------------------------+-----------------------------
 Parent category is ''parentcategory'' and his sub category is
 ''subcategory''.

 The URL will be ''domain.com/category/parentcategory/subcategory''.

 The problem is, that you will get the same page if you use any words as
 ''parentcategory''.

 Examples:
 - ''domain.com/category/xxx/subcategory''
 - ''domain.com/category/subcategory''
 - ''domain.com/category/foo/bar/subcategory''

 IMO {{{redirect_canonical}}} should do his work here (and sometimes it
 does).

 In 3.1 it does redirect.
 In 3.1.4 it doesn't redirect; after r17549.
 In 3.2.1 it doesn't redirect.
 Duck_ found that it does redirect before r18079.
 In current trunk it doesn't redirect.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18734>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list