[wp-trac] [WordPress Trac] #52214: Slug conflict for page and posts
WordPress Trac
noreply at wordpress.org
Mon Jan 4 08:14:37 UTC 2021
#52214: Slug conflict for page and posts
--------------------------+-----------------------------
Reporter: cagdasdag | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
When you create a page and post with same title and same slug it won't add
-2, -3 to slug it creates a conflict there.
Steps to replicate:
- Go to Permalink setting and select "Post name", save it.
- Create a page and set permalink -> test-1212
- Create a post and set permalink -> test-1212
And go to yourdomain.com/test-1212 you will see it opens page. There is no
way to see this post. When you create a post it should add -2 to end of
url.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52214>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list