register_post_type permalink
You have to use post_type_link filter. Create a handler to handle this filter, you can create $permalink as per your need there. In addition to this, you may have to use “pre_get_posts” action also. I used both these couple of months ago, I created permalinks to show as cpt_name/post_name.