I need to remove the parent slug in the permalink of a child post. The child post is of a different cpt than the parent post. So I get:
example.com/parentcpt/parent-post-name/child-post-name //which results to a 404.
Switching between permalink structures doesnt help either. Ive tried a number of plugins but they dont solve. Adding the following doesnt help:
'rewrite' => array('slug' => false, 'with_front' => false)// register_post_type function
Someone help please ... :)