I’ve not seen a “clean” way to do this – happy to learn it from someone else if they know.
However, the way we’ve managed this in the past is to setup a page whose slug is ‘projecten’ with a custom page template that behaves and acts like an archive page. Then add child pages for each term (make sure to select the custom taxonomy for each term child page that relates – well this is only really important depending on how you want to find the term).
This will get you the slug structure you want. You can then use the page template you created to also find the second url parameter (or find the taxonomy that relates to the post) and add a tax_query to the WP Query to limit by taxonomy term. Or try it another way, once you have that parent/child page relationship and your slug structure complete…
I’m sure you can figure out the best way for you to code the required output.
Related Posts:
- Custom template won’t load for a custom post type (custom permalinks used)
- Can’t use pagination with custom taxonomy
- Permalink problems with custom post type and custom taxonomy
- Custom post type category permalinks and archive pages
- pagination problem listing custom post types of taxonomy in wordpress
- Permalink for custom post type pages not working
- Pagination not working (page/2 retunring 404 page)
- Pagination fault in custom post type archive page [duplicate]
- How to have a dynamic slug and rendering the archive-{post_type}.php?
- Create template for taxonomy results limited by Custom Post Type
- How to hook custom taxonomies to custom post types and make the permalinks work?
- Extending AZIndex plugin to use custom post types and custom taxonomies
- Custom post type url with category
- Help with Elementor Pagination CPT archive 404 problem
- How do I move/order posts with a tag to the end?
- Adding custom post category slug in permalink causes 404 error for pages and posts
- Custom taxonomy rewrite give pagination 404
- Use Custom Post Type archive page for the taxonomies term archive page
- How Can I Change the Custom Post Type Slug to the Taxonomy Slug in the URL?
- Use same slug base for Custom Post Type posts, and multiple taxonomy terms
- How to have the same url structure for both a CPT and a Taxonomy?
- How to create custom url structure based on custom post type rewrite slug, taxonomy and category slug?
- create a subcatagory for a custom post type and out put url as posttype/subcategory/item
- Display custom post type category, while in a CPT category, then the posts beneath
- custom-taxonomy/post_name instead of the default post_type/post_name
- Show custom post archive when custom post not specified
- Show custom post type relationships by taxonomy
- Can’t remove front from permalinks for custom taxonomy category page
- Removing custom post type slug from URL
- Customize Custom Post Type URL
- Permalinks /country/city/cpt/postname/
- Number of Custom Post Types published are not being shown in the custom page
- Seamless permalinks between Custom Taxonomy and Custom Posts
- Custom post type and custom taxonomy with the same slug using the file page taxonomy only as directory
- Custom Permalinks with CPT and Hierarchical Taxonomies
- How to have this permalink structure: post_type/postname/custom_inner_page
- Custom Post Type Pagination Paginates Only in URL Structure
- Custom Permalink Structure for Custom Post Type, Custom Taxonomy, Under a page
- Custom taxonomy returns 404
- Permalinks: custom post type -> custom taxonomy -> post
- Custom post type archive pagination 404
- CPT’s with landing page instead of archive – Url Rewrite?
- How to change permalink to include custom post type
- posttype/taxonomy/term archive page 404 error
- Custom post type, permalinks, taxonomies and blog posts
- Custom post type permalink tag 404
- Permalink structure with custom taxonomies and custom post type like /parent-tax/child-tax/custom-post-type-name (with no base name)
- permalink /category/post-name with custom post type and taxonomy
- Querying Custom Post Type, ordering by Custom Taxonomy Pagination Not Working
- Custom post type and taxonomy permalinks
- Hierarchical permalinks for custom post type and taxonomy
- set permalink for CPT
- Ignoring slug capitalization on rewrite rule for custom post type archive page
- Custom permalink with child taxonomy terms
- Custom post type Permalinks with hierarchical Taxonomies
- Custom Post Archive is not working
- Custom post type pagination 404
- How to solve this custom post type goes to 404 page?
- Best way to specify “article type” in URL
- Template files for Custom Post Type and Taxonomy
- What’s the name of the custom post type yearly archive template?
- Pagination Not Working for Custom Taxonomy with Custom Query – 404 Error
- How to hyperlink content from archive page with custom post-type
- previous_post_link in same taxonomy in custom post type
- Alphabetically sort a taxonomy.php template by post title
- Template for custom post type when taxonomy is in the URL
- Custom Permalinks For CPT and pages with parent. Advanced WordPress
- sort CPT on Custom Taxonomy Archive page
- Use the custom post type archive for taxonomies?
- Custom Post Type Advanced Slug
- How to filter a custom post type by custom taxonomy without 404
- Custom Post type date archive for custom taxonomy
- Custom post type and custom taxonomy 404 on page 2
- Show categories of custom post type and not all posts
- How to get all posts related to particular category name on button click?
- How to list custom post types on a custom post type page?
- WordPress custom permalink and archive link for custom post type
- Ideas on how to organize a project [closed]
- Custom Post Type Archive template not being called
- Custom Post Type with Configurable Sidebar via ACF
- Pagination of custom post type leads to 404 error
- Query Posts that have Custom Taxonomy
- Custom Post Type Custom Archive Page Not Working
- Enabling permalinks disables custom page template
- Getting custom taxonomy posts on archive page
- Taxonomy rewrite pagination 404
- Change permalinks for custom post type based on taxonomy term
- Archive page for custom post type and custom taxonomy
- Using page title as a link to term archive
- Is it possible to have hierarchical taxonomy and hierarchical custom post types in one permalink?
- Pagination does not work on Custom Post Type archive while trying to get load more function working
- Custom category URL not displaying posts
- Safe to throw 404 error in request filter?
- Multiple permalinks for a single post with multiple taxonomies
- Displaying custom taxonomy menu in custom post type archive
- 2 custom post type paging in 1 custom taxonomy
- Duplicate slug/permalink issue while adding same post name
- custom taxonomy pagination 404 error
- Custom archive page for custom taxonomy and pagination issue
- Archive page of CPT’s custom Taxonomy