[wp-trac] [WordPress Trac] #25737: Duplicated category URLs

WordPress Trac noreply at wordpress.org
Sun Oct 27 21:30:48 UTC 2013


#25737: Duplicated category URLs
-----------------------------+-----------------------------
 Reporter:  riccardo.raneri  |      Owner:
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  General          |    Version:
 Severity:  normal           |   Keywords:
-----------------------------+-----------------------------
 When using nested categories, every URL that ends with a valid category
 slug works. For example (using WooCommerce, but you get the same with the
 standard WP structure, "category" instead of "products"):

 - http://www.example.com/products/pasta-and-risotto/pasta/
 - http://www.example.com/products/a-random-slug/pasta/
 - http://www.example.com/products/pasta/

 In this example, "pasta" is a subcategory of "pasta-and-risotto". If you
 go to the three URLs above you'll get the same page.

 This is wrong from a logic point of view, because only the first URL is
 correct (it respects the structure of categories I have set in the admin
 interface -- in fact, the automatic navigation menu links to this one). In
 addiction of this, it generates duplicated content.

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


More information about the wp-trac mailing list