Well, from what I can see, the reason for your wrong middle part is that it is hard coded in the slug?
'slug' => 'behandelingen/behandeling_categorie',
Related Posts:
- custom taxonomy and pages rewrite slug conflict gives 404
- Remove taxonomy base or term from url
- Removing taxonomy base using WP rewrite
- Custom taxonomy on permalink
- Custom taxonomies, with custom rewrites/slug, AND loading a taxonomy archive template from a plugin
- URL rewrite rules for multiple taxonomies query
- Rewrite rule for custom taxonomy
- Nice URLs for a Custom Post Type List with a Shared Custom Taxonomy?
- How do I rewrite a url to use %taxonomy% instead of %category% when multiple taxonomies are present?
- Pros and cons of using [taxonomy name] in place of [category name]?
- WP redirects pretty permalink to query string
- Removing the base “Author” or changing it to something else. is it possible?
- Permalinks for quote authors
- Sorting Posts Via Custom Taxonomy Values Using Checkboxes?
- Add parent/child taxonomy to custom post type url
- Keep taxonomy base name in post permalinks
- Permalinks for custom taxonomy stopped to work
- Taxonomy with_front causes all
- 404 error- issues with pages after adding custom rules for posts
- How to overwrite registered taxonomy url from vendor plugin in child theme
- How Can I Change a Taxonomy URL Based On The Originating URL?
- How to add a Rewrite Rule / Category Structure
- Rewrite URL for taxonomy listing
- Custom permalinks with hierarchical taxonomy – getting PHP warning
- Change the permalink URL to include a taxonomy term
- Rewrite Rule Working for all but one of the taxonomies created
- Page and Post return 404 with custom taxonomy
- How to Rewrite Taxonomy URL to Include the Post Type as the Second Segment of the URL?
- Taxonomy Pagination Rewrite
- woocommerce custom product category template
- Add Taxonomy Subcategory To Permalink
- how to change permalinks format for pagination?
- Custom Taxonomy and Rewrite URL
- How do I create a permalink structure with 2 taxonomies
- Rewrite Rules returning wrong data
- Pagination on Custom Tax Pages Removes Spaces from Query Vars
- How to rename custom taxonomy URL with extra words
- Custom URLs in Custom Search Results
- How to change url for taxonomy pages?
- Query custom taxonomy by term id?
- Permalink Problems
- How to add hierarchical taxonomy with parent child relation to URL?
- Clean Custom URL for Serach + Custom Taxonomy
- Custom rewrite permalink doesn’t work
- forward/redirect taxonomy archive of term to a page with same name
- URL rewriting taxonomy term
- How can i fix a 404 error when targeting custom taxonomy slug ?
- Permalink issues with custom taxonomies
- Taxonomy URL rewrite whilst keeping filtered posts?
- Rewrite Search URL Permalink For CPT Custom Taxonomies
- How can I rewrite the URL of my custom taxonomy to include the year?
- How to change Custom Permalink for Taxonomy? (remove the slashes from term-slug)
- How do I get the correct URL?
- How to structure all custom-taxonomy with three verbs(a,b,c) and route them accordingly?
- Rewriting url for multiple Taxonomies and Custom Post Type
- Custom rewrite url structure for several custom taxonomy (NOT pos_type)
- Remove taxonomy name and add .html extension in the custom taxonomy term URL
- How to paginate with an query var appended to permalink?
- Hierarchical taxonomies in permalink cause 404 for sub term archive
- Permalinks incorrectly inserting multiple categories
- Permalink structure not working with Custom Taxonomy (URL like ./taxonomy/category/postname)
- add_rewrite_rule using custom taxonomy and year
- Need help understanding a rewrite with multi-level taxonomy
- Taxonomy to WordPress Permalinks of custom post type
- Multiple Taxonomy in URL/Query – No Custom Post Type
- Creating a page for custom taxonomy archive
- Custom Taxonomy Archive URL rewrite
- Later change of taxonomy slug base not changing permalink
- Rewrite URL for a specific taxonomy [duplicate]
- Get total number of comments from posts in a specific custom taxonomy
- Display one post from each term in a custom taxonomy [closed]
- WordPress json api taxonomy index method
- get_terms showing link to category even if all posts are drafts
- How get custom field from custom taxonomy?
- Taxonomy.php issue with search and filters
- custom taxonomy archive by year
- Return the most recently created custom taxonomy
- How to get custom category’s link?
- Edit custom taxonomy description programatically
- Get taxonomy name for the current post
- Duplicate slug/permalink issue
- How to rewrite custom taxonomy term archive to use THE SAME SLUG/front as CPT
- How to list the taxonomy terms that fit the custom query?
- Geographic search with taxonomy structure [duplicate]
- Custom Post Type View Button in Admin Gives 400 Error
- Proper way to create taxonomy queries
- search using multiple taxonomies and keyword
- How to set the same base url for two different taxonomies?
- How to loop custom posts that have an exact match in taxonomy terms?
- How to Implement Custom Taxonomy Conditional Page?
- wp_insert_post not adding taxonomy (using wp_set_object_terms)
- Customise Permalink Structure For Custom Post Types
- Remove Custom metabox from particular page template is used
- generate random slug when adding taxonomy
- Add and Custom category for posts “PAGE”
- Custom post type term names with ampersand in the term name
- Display custom post term or taxonomy
- Attaching meta box to specific category/taxonomy in custom post type
- Display custom post taxonomies
- Custom Taxonomy type in nav menu