Make WordPress Core

Opened 9 years ago

Closed 9 years ago

#41848 closed enhancement (duplicate)

Force post name uniqueness if a page with the same post name already exist

Reported by: isaacbenh Owned by:
Priority: normal Milestone:
Component: Posts, Post Types Version:
Severity: normal Keywords:
Cc: Focuses:

Description

If I create a post with the same title as a page then the post permalink is basically a link to that page.
I think that it would be best if you force post names to be unique in this case. This is important especially if you're letting other users to create posts who might not be aware of existing pages with the same title.

I don't see how adding this would break anything as either way no one would want to have a post and page with the same post name.

Change History (1)

#1 @SergeyBiryukov
9 years ago

  • Milestone Awaiting Review
  • Resolutionduplicate
  • Status newclosed

Hi @isaacbenh, welcome to WordPress Trac!

Thanks for the report, we're already tracking this issue in #13459.

Note: See TracTickets for help on using tickets.