I have a custom post type permalink setup which looks like:
The problem is that when I have sub-categories, it adds them in the URL.
Is there a function I can put into place which will do this automatically for my
post_type? The pages load fine with or without the
apple subcategory, I just don't want people to ever get to this longer address with the subcategory in it.