I’d like to keep my custom taxonomy called “Branches” out of the URL, so I’d need to “hide” the slug somehow.
Current: site.com/branch/hotels/cpt
What I want is this:
site.com/hotels/cpt
I can’t figure out how to make that work, do any of you fine people know?
Thanks in advance!
The only way to do this (if it is possible) is to alter the permalink structure for your CPT and Taxonomy using a combination of add_rewrite_rule(), query_vars, add_rewrite_tag() and add_permastruct().