I have a Wordpress website with 20+ categories. To make it easier to navigate I want to decrease the categories, but at the same time keep the original categories. In other words I want to be able to query multiple categories with a category group or a virtual slug.
Example categories:
/category/apples/
/category/pears/
/category/bananas/
I want to be able to query all three of them with a unique url slug:
/category/fruit/
But like I said, it should still be possible to go to i.e. /category/bananas/
I know it's possible to query multiple categories the way I want to using /category/apples,bananas,pears/ but it's not a elegant solution.
Is it possible to do this virtual grouping with a plugin or even using a rewrite?
Tips and recommendations are greatly appreciated!