WordPress.org

Make WordPress Core

Opened 2 months ago

Closed 2 months ago

#41848 closed enhancement (duplicate)

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

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

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
2 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

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.