[wp-trac] [WordPress Trac] #55451: Same URL in page and post creates conflict
WordPress Trac
noreply at wordpress.org
Wed Mar 23 13:35:31 UTC 2022
#55451: Same URL in page and post creates conflict
--------------------------+-----------------------------
Reporter: fotisps | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Taxonomy | Version: 5.9.2
Severity: normal | Keywords: needs-patch
Focuses: |
--------------------------+-----------------------------
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.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55451>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list