I am developing a WP plugin in which I have a WP page called my-account, but I have some more child pages of its like account-edit, account-misc etc… so I would like to call these pages in this way mydomain.com/my-account/account-edit and mydomain.com/my-account/account-misc I don’t know how to do this without creating WP pages, I have tried some add_rewrite_rule but that doesn’t work what I expected.

Read more here: Custom page slug without creating a WP page


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: