The internet is swamped with this issue but all the results were from 2010-2011 so I wanted to check if there was any advancement in the matter.
I have the following scenario:
WP automatically created the permalink for the child page as
www.example.com/videos/new-video but the page leads to a
404 Not Found error.
Is there any way to have both custom post type and parent page slug set to “videos” under the aforementioned permalink structure?
I ended up changing the post type to ‘video’ to avoid the slug conflict with page ‘Videos’.
I it a WP default behavior to give priority to the post type over the page slug:
How to make pages slug have priority over any other taxonomies like custom-post, post or category