I have a custom post type that has the slug mycpt, so URLs for posts of this custom post type are like www.site.com/mycpt/the-name-of-a-post.

What I want to do is create a page (using Pages>Add New) that will also have mycpt as the slug, so the URL of the page will be like www.site.com/mycpt/the-name-of-this-new-page. I tried editing the page's permalink to be mycpt/the-name-of-this-new-page, but WordPress just changes it to mycpt-the-name-of-this-new-page.

Is there a simple way to accomplish this that I'm not thinking of?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.