Conflict in Permalinks for Different Post Types
-
Hello WordPress Support Team,
I am encountering an issue with permalinks in WordPress version 4.6.2. It seems that there is a conflict in handling permalinks for different post types, specifically between posts and pages.
Steps to Reproduce:
- Create a new post in the ‘Posts’ section with the title “example”. The permalink automatically generated for this post is
url/example
. - Create a new page with the same title “example”. The permalink for this page is also generated as
url/example
, identical to the post’s permalink. - When I visit
url/example
on the frontend, the content displayed is from the page, not the post.
Expected Behavior: I expected WordPress to either generate a unique permalink for the page or provide some indication of a conflict, considering there is already a post with the same permalink.
Actual Behavior: WordPress does not seem to differentiate between the post and the page with identical permalinks. The page content is displayed for the
url/example
permalink, while the post with the same permalink is not accessible.Questions:
- Is this behavior expected in WordPress 4.6.2?
- If not, could you please guide me on how to resolve this issue?
- Create a new post in the ‘Posts’ section with the title “example”. The permalink automatically generated for this post is
- The topic ‘Conflict in Permalinks for Different Post Types’ is closed to new replies.