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:
- Mixing custom post type and taxonomy rewrite structures?
- Rewriting a custom-post-type permalink with taxonomy term?
- WordPress Rewrite Rules for Custom Post Type and Taxonomy
- How to pass URL parameters for advanced taxonomy queries with multiple terms for one custom taxonomy
- Custom Post Type and Taxonomy URL rewrite
- How can I rewrite URLs to pass taxonomy and post type values to the query?
- clients list using wordpress
- How to modify URL structures in custom post types and taxonomies or terms
- 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
- Taxonomy archives based on Custom Post Type
- Find callback function for custom taxonomy metabox
- Custom permalinks
- Multiple custom post types using the same taxonomy = URL frustrations
- Permalink rewrite with custom post type and custom taxonomy
- Issues when rewrite rules collide?
- 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
- Modifying rewrite rules to use /category//
- Custom Post Type View Button in Admin Gives 400 Error
- Taxonomy rewrite pagination 404
- 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 Type URL Rewrite’s
- 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
- Remove cpt slug from url and use custom taxonomy instead breaks all other cpt
- How to divide Subcategories into pages of parent category wordpress
- how to achieve this permalink abc.com/CPTName/CustomPostTypeCategorySlug/categoryname
- Custom Permalink For Custom Post Type – Working Fine But Broken For Pagination
- set object terms after some some time of published post – functions.php
- update custom taxonomy custom fields
- Check that a slug is present in the get_terms request
- Is there a way to use ‘publicly_queryable’ => false only on specific taxonomy term?
- Custom Post Type & Taxonomies – Rewrite
- Remove custom permalink base from CPT custom category and custom tags
- How to properly set the rewrite rules for this case?
- How to handle this wordpress custom post type rewrite problem?
- Assigning categories to custom post types via a front-end form; only works for native post type
- Define multiple prefixes for custom post type
- CPT tags not showing when editing post
- Display CPT taxonomies as an archive page
- Change CPT permalink to use the category
- How to fix 404 on post after prepending Custom Post Type url with Custom Taxonomy Term slug
- Permalinks: custom post type -> custom taxonomy -> custom sub taxonomy -> post
- Redirect Custom Post Type from Child Taxonomies
- Pretty Permalinks with CTP and Taxonomies / Hierarchical
- Customise Permalink Structure For Custom Post Types
- Custom post type structure + permalink structure
- Change Search display for Custom Post Type
- Recovering data about custom post and taxonomy types
- Using get_post_type with a custom URL format?
- wordpress does not see the correct custom taxonomy hierarchy
- 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
- How to build overlapping custom post_type and taxonomy rewrites without conflicts?
- 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
- Post Custom & Taxonomy 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
- Remove custom post type slug but keep related category taxonomy permalink
- page not found for example.com/custom-post-name
- Create 2-layered dropdown menus for custom taxonomy and custom post type
- Force WordPress to only match URL in category
- 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
- Why won’t this rewrite rule work?
- Parent cpt/child custom post type URL permalink relationship
- Customize category URL
- Custom post type and custom taxonomy archive inaccessible
- 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 can i change url structure of cpt like this?
- 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
- Rewrite Rule for custom post type link with or without taxonomy terms
- Custom Post Type with multiple Custom Taxonomies / Hide Taxonomy Slug from URL
- How do loop categories post from according in WordPress? is it impossible to solve this problem?
- Custom post type with custom taxonomies structure url not working archive of CPT
- How to use wp_set_object_terms depending on page ID?
- Is it possible to use a post name in a custom post slug?
- 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]
- Custom templates based custom url structure in wordpress
- Rewrite taxonomy permalink appended to CPT archive url