This tutorial provides the PHP code you can use if you want to create your own custom permalink structure for custom taxonomy types you add to your custom post types.
You can go from this:
The code in this post creates a custom post type named Golf Courses which includes 2 taxonomy types named Country and Region as seen in the following screen shot:
The permalink structure in this example will be:
your domain / custom post type / taxonomy / taxonomy / post name
The code adds the ability to create custom taxonomies like country and region. You can add unlimited taxonomies for each custom post type. You can also display any number of taxonomies in your permalink structure.
Basically, the code enables you to add 1 or more taxomomy types to your permalink structure for custom post types.
Here’s the code you simply paste at the end of your child themes functions file: