Rewrite rule of page child of a custom post type
-
With the plugin Types I’ve created a hierarchical custom post type “journeys”, and then I set that normal “pages” are child of “journeys”.
Now, if I create a page and I set it as a child of “My First Journey” it has this URL:
https://www.mysite.com/page-name
and the “My First Journey” url is this:
https://www.mysite.com/journeys/my-first-journey/How can I rewrite it to be like this (but ONLY IF the page is child of a “journeys” post type)?
https://www.mysite.com/journeys/my-first-journey/page-name
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Rewrite rule of page child of a custom post type’ is closed to new replies.