I have a custom post type resource
. This custom post type shares the category
taxonomy with posts.
For a given category term archive, example url: /category/reducing-inequality/
, I want to have an additional URL that displays ONLY the resource custom post type for that category. I can do so by using a query string:
category/reducing-inequality/?post_type=resource
What I want to do though is create a rewrite rule that will have this category archive (the above URL) instead rewrite to /resource/category/reducing-inequality
Is this possible? Any guidance is much appreciated, thank you!