Got this plugin to work all fine. I now have a custom post type gallery with a custom taxonomy 'category'. All working fine, but when i create a subcategory, within my cystom taxonomy, the archive page of that custom taxonomy results in a 404. I found this out:
The permalinks of the archive page of my subtaxonomy are automatically formatted as domain.com/gallery/genre/paintings/trees/, which results in a 404. Any idea's of how to fix this?