Opened 13 years ago
Closed 13 years ago
#26512 closed defect (bug) (duplicate)
Custom Post Type Slug Conflicts With Page Slug
| Reported by: | pressuser79 | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Posts, Post Types | Version: | 3.7.1 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
- Create a page called "test. It will be visible at http://site.com/test
- Create a new Custom Post Type (CPT), say "Examples".
- 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.
Change History (1)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Duplicate of #18962.