Make WordPress Core

Opened 2 years ago

Closed 2 years ago

#55451 closed defect (bug) (duplicate)

Same URL in page and post creates conflict

Reported by: fotisps's profile fotisps Owned by:
Milestone: Priority: normal
Severity: normal Version: 5.9.2
Component: Permalinks Keywords:
Focuses: Cc:

Description

When someone creates a page and a post with the same URL, without any other prefix in the URL there is a confusion because the user cannot understand if sees the post or the page. If he type the url, he will be redirect to the page and not to the post.
Paradigm:
Page: www.domain.com/myname
Post: www.domain.com/myname
User is directed to the Page if he types the URL.

This could be prevented by cross checking all the URLs that have been generated in every post type in order not to have duplicates and give a suffix or a prefix to the final url of the post or the page.

Change History (1)

#1 @SergeyBiryukov
2 years ago

  • Component changed from Taxonomy to Permalinks
  • Keywords needs-patch removed
  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Hi there, welcome back to WordPress Trac!

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

Note: See TracTickets for help on using tickets.