[wp-trac] [WordPress Trac] #26512: Custom Post Type Slug Conflicts With Page Slug

WordPress Trac noreply at wordpress.org
Mon Dec 9 18:08:44 UTC 2013


#26512: Custom Post Type Slug Conflicts With Page Slug
--------------------------+-----------------------------
 Reporter:  pressuser79   |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  3.7.1
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 1. Create a page called "test.  It will be visible at http://site.com/test
 2. Create a new Custom Post Type (CPT), say "Examples".
 3. Inside the editor for the CPT, add a new post. Give it a name of
 "test".

 Ideally the CPT SHOULD be visible at http://site.com/examples/test, but
 Wordpress will prefer it to exist at a slug that does not conflict with
 the page slug - probably something like http://site.com/examples/test-2.

 This constraint makes Wordpress almost unusable for some sites.

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


More information about the wp-trac mailing list