What you have is the correct code. Just replace it in register taxonomy function (you may find mention function in functions.php) at a ‘rewrite’: true with your code.
Related Posts:
- Rewriting a custom-post-type permalink with taxonomy term?
- Custom Post Type and Taxonomy URL rewrite
- How can I rewrite URLs to pass taxonomy and post type values to the query?
- Archive page with multiple taxonomies rewrite
- Custom post type taxonomies URL rewrite
- WordPress custom taxonomy URL rewrite on spelling errors
- Create permalink structure for one taxonomy archive per custom post type
- Custom permalinks
- Issues when rewrite rules collide?
- Custom Permalinks for Custom Post Types and Taxonomies
- Display CPT taxonomies as an archive page
- Including two taxonomies in a permalink structure
- WP Rewrite Rules – Custom post type & taxonomy
- Many to Many Taxonomies or rewrite rules?
- Remove base slug in CPT & CT, use CT in permalink
- Automatically assign a custom post to a custom taxonomy based on custom field value
- Custom post type category, taxonomy and URL rewrite problem
- How do I list terms of a custom taxonomy at i.e. domain.com/brands/
- Permalink Structure problem with cpt and custom taxonomy
- Custom Taxonomy 404
- Custom Post Type/ Taxonomy URL rewrite
- Bulk 301 redirect for custom post type
- Append taxonomy terms as class names in markup?
- Custom Permalink Tag breaks Pagination
- Custom Permalink for Taxonimie and Custom Post Type
- how to get archive urls with same origin for custom types and terms?
- multiple url slug for single custom post type
- Pretty URLs for Custom Post Type & Custom Taxonomy with Duplicate Slugs on WPML
- Custom Post Type and Custom Taxonomy Permalinks
- Custom Post Types relationships
- Permalink Structure CPT With Custom Taxonomy Fails
- Conditionally custom post type url rewrite
- Insert HTML inside link in a walker
- Change Permalink Structure for Tag.php template
- Custom Taxonomy Permalinks Redirection
- Remove standard meta boxes from custom taxonomy
- wp_list_categories() – current-cat class also inside posts?
- Custom Post Types, URL rewrite on multiple CPTs
- Adding custom post category slug in permalink causes 404 error for pages and posts
- How to create custom url structure based on custom post type rewrite slug, taxonomy and category slug?
- How can I make the slug of the taxonomy also the slug of the custom post
- Customize Custom Post Type URL
- How do I change the custom taxonomy slug to be the same as the custom post type slug?
- Custom taxonomy rewrite with query var returns %2F in URL
- Remove slug in URL custom post type
- Custom Permalinks with CPT and Hierarchical Taxonomies
- URL rewriting for CTP assigned entity
- Custom Permalink Structure for Custom Post Type, Custom Taxonomy, Under a page
- Custom taxonomy returns 404
- Permalink structure with custom taxonomies and custom post type like /parent-tax/child-tax/custom-post-type-name (with no base name)
- Custom permalink with child taxonomy terms
- Best way to specify “article type” in URL
- post_type_link Filter – Too Few Arguments
- WordPress custom permalink and archive link for custom post type
- How to rewrite the post slug of a custom post type post
- Urls in Custom Post Type work for Terms but not for its Taxonomies
- Foreach loop returning more than one item when querying taxonomy
- Function to erase every post from a taxonomy
- Archive page for custom post type and custom taxonomy
- custom post archive URL is wrong
- Custom taxonomy and post type rewrite rules
- Custom Post Type and Taxonomy Rewrite Error
- Get Posts List of Current Selected Custom Taxonomy in Shortcode
- Custom taxonomy terms as children of multiple custom post types
- how to achieve this permalink abc.com/CPTName/CustomPostTypeCategorySlug/categoryname
- Custom Permalink For Custom Post Type – Working Fine But Broken For Pagination
- Check that a slug is present in the get_terms request
- Custom Post Type & Taxonomies – Rewrite
- Remove custom permalink base from CPT custom category and custom tags
- How to handle this wordpress custom post type rewrite problem?
- CPT tags not showing when editing post
- Display CPT taxonomies as an archive page
- Change CPT permalink to use the category
- Permalinks: custom post type -> custom taxonomy -> custom sub taxonomy -> post
- Redirect Custom Post Type from Child Taxonomies
- Pretty Permalinks with CTP and Taxonomies / Hierarchical
- Change Search display for Custom Post Type
- Using get_post_type with a custom URL format?
- Custom URL for Custom Post Type & Custom Taxonomy Term
- Custom taxanomy and custom post type – pagination leads to 404
- Register post type getting error 404
- Flush rewrite rules when new cpt is registred
- I have a custom taxonomy assigned to two post types. How do I create URLs for different term archives for each post type?
- CPT url rewriting : regular posts return 404 error
- Custom Post Type rewrite url to /category/pagetitle [duplicate]
- Getting a 404 on single custom post type page when using rewrite on a custom taxonomy
- redirect old post type url to new structure url
- Pagination fault in custom post type archive page [duplicate]
- One custom post type with two different url structure base on taxonomy term
- Generate daily archive whenever any post type is added
- Custom Loop for custom post type. Compare by meta_value?
- Custom Post Type Base URL
- Custom Taxonomy in Permalink from post type
- Invalid Taxonomy in template
- How to change custom post type slug without damage seo? [closed]
- Custom Post Types using wrong template (index) instead of archive-{type}.php – previously worked as expected
- Custom Post Type with multiple Custom Taxonomies / Hide Taxonomy Slug from URL
- How to work with URLs where sometimes a post or a subcategory is in the same part of the URL structure
- How to get the proper category in permalink with custom post type assigned to multiple categories
- Auto Generate Post Title from 2 ACF Taxonomies [closed]