Setting Parent Page to Post
Does anyone know how to achieve different parent pages for posts?
I've managed to code a Custom Post Type that sits under a specific parent page, but I want the option to change this from post to post.
Example;
/page-1/custom-post-1/
/page-1/custom-post-2/
/page-2/custom-post-3/
/page-2/custom-post-4/
The final result would be URL structure like the above, but all posts sitting on one archive page.
I know by default this isn't possible as posts are non-hierarchical.
Thanks
Topic url-rewriting seo customization custom-post-types Wordpress
Category Web