If your site has Custom Post Types and Custom Taxonomies, this plugin will allow you to select.
There you choose the custom post types you want to have the slug include the taxonomies for...
Either install the plugin the traditional way through your Admin dashboard's Plugins screen, or you can.
Upload the plugin files to the wp-content plugins directory.
Activate the plugin through 'Plugins in WordPress.
If you want GUI interface through which to create your custom post types and taxonomies, I would recommend you use this plugin https wordpress org plugins pods..
If you find that after you've enabled this plugin, things go wrong, simply disable the plugin and create support request here...
Becuase you could have post and category with exactly URL, we've had to add way of differentiating between the two.
Tested on nginx setup with Divi theme, works out of the box on Divi's 'Project custom post type...
Browse the code, check out SVN repository, or subscribe to the development log by RSS...
Read more