How can I have a post (or custom post) with a definite URL:

www.test.com/category/post-name

and a child-URL referring to a specific section of that post

www.test.com/category/post-name/sub-url

without being obliged to create a specific post related to that child-URL?

I have a post with the URL

www.test.com/category/post-name

originated by file content-product.php and I want to have a child-URL like

www.test.com/category/post-name/details

originated by file content-product-details.php
that refers/recall only a section/portion of the post.

In few words is there a way to create the structure indicated? Or do I have to manually create for each post as many sub-post
as child-URL I want to have?

Read more here: Dynamically generate child-URLs for posts or custom posts


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: