Plugin Recommendation
I’ve had some great experience with the plugin Custom Post Type Permalinks.
Here’s the settings panel that it provides which allows you to define your structure per custom post type.
Adding More Permalink Tags
If you want to further extend the permalink structure tags for your needs you can take a look at the add_rewrite_tag API function.
CTP Tax Archive
The CPT Permalinks plugin won’t take care of your CPT Tax archive, so you need to add the following rewrite rule to your functions.php file:
add_rewrite_rule('^(your-cpt)/(taxonomy_1|taxonomy_1|taxonomy_3)/?','index.php?post_type=$matches[1]&taxonomy=$matches[2]','top');
You will obviously need to replace your-cpt and the taxonomy names in the regex.
Testing
I highly recommend you to use the Monkeyman Rewrite Analyzer to help understand what rewrites are registered and how they match your URLs.
Hope this helps you out.
Related Posts:
- Custom post types, taxonomies, and permalinks
- Permalinks: custom post type -> custom taxonomy -> post
- Mixing custom post type and taxonomy rewrite structures?
- How do I append multiple taxonomies to the URL?
- WordPress Rewrite Rules for Custom Post Type and Taxonomy
- Permalink Structure for Multiple Post Type Archives by Taxonomy
- Remove slug in taxonomy url
- Taxonomy, Terms, and Template Files
- Permalink rewrite 404 conflict- WordPress Taxonomies/ CPT
- custom post type and custom taxonomy permalink
- Is there a way to use regular categories with custom post types?
- Dynamic taxonomy in permalink made all other posts NOT FOUND?
- Custom Post Type Permalink For Parent/Child, 404 Page Not Found Error
- Help with a TV series Rewrite structure
- Rewrite permalinks for custom posttype and custom taxonomy
- How to check if last uri segment is a custom post type or taxonomy term?
- Custom permalinks – post type – hierarchical taxonomy’s
- Custom taxonomy & post slug permalink
- Including two taxonomies in a permalink structure
- WP Rewrite Rules – Custom post type & taxonomy
- Remove base slug in CPT & CT, use CT in permalink
- Permalink Structure problem with cpt and custom taxonomy
- Page to display an archive of taxonomies
- How to create a permalink for custom taxonomies and custom post types like base-name/parent-tax/child-tax/custom-post-type-name
- Custom post type permalinks giving 404s
- Custom Taxonomies: Multiple Hierarchical Permailnks For A Single Post + Prev/Next Links
- How to show custom taxonomy in the permalink?
- Add the .html extension to custom post types
- Date-based permalinks for Custom Post Type, and custom taxonomy permalinks
- What is better: Custom Fields vs Custom Taxonomies with Terms for perfomance, scalability and better user experience
- Custom Permalink for Taxonimie and Custom Post Type
- Custom Taxonomy breaking pages permalinks
- Permalinks for custom post-types within custom taxonomies not found
- Custom Post Type with two hierarchical Custom Taxonomies: strategy to generate best permalink structure
- Custom post types and permalinks
- Permalink Structure CPT With Custom Taxonomy Fails
- Parent & Child Taxonomy slugs in custom post permalink
- Custom Post Types and independent Categories – complex Taxonomy
- Use different taxonomies in different custom post types’ permalinks?
- Custom template won’t load for a custom post type (custom permalinks used)
- How to hook custom taxonomies to custom post types and make the permalinks work?
- 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?
- custom-taxonomy/post_name instead of the default post_type/post_name
- 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/
- 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 Permalink Structure for Custom Post Type, Custom Taxonomy, Under a page
- How to change permalink to include custom post type
- Custom post type, permalinks, taxonomies and blog posts
- set permalink for CPT
- Custom permalink with child taxonomy terms
- How to solve this custom post type goes to 404 page?
- Permalink problems with custom post type and custom taxonomy
- Custom Post Type Advanced Slug
- How to get all posts related to particular category name on button click?
- WordPress custom permalink and archive link for custom post type
- Ideas on how to organize a project [closed]
- Enabling permalinks disables custom page template
- Custom post type category permalinks and archive pages
- Safe to throw 404 error in request filter?
- Custom Permalink For Custom Post Type – Working Fine But Broken For Pagination
- Set priority to permalinks
- Is there a way to use ‘publicly_queryable’ => false only on specific taxonomy term?
- Changing CPT permalink
- Changing permalink of default Post with custom post
- Custom Taxonomy Archive generates 404
- Custom post type single with custom URL structure
- How to change URL structure for custom post type in wordpress? Custom taxonomy + custom Post name [duplicate]
- Remove CPT Slug with 2 taxonomies and 1 post meta
- Custom post type and taxonomy same slug
- How to create a permalink structure with custom taxonomies and custom post types
- How to structure a website with custom post types and custom taxonomies?
- Pagination not working (page/2 retunring 404 page)
- Template hierarchy changes when custom post-type permalink leverages custom taxonomy
- Associate custom CPT with another CPT’s taxonomy and rewrite permalinks
- Post Custom & Taxonomy 404 error
- Custom Post Type Taxonomy – Permalinks generating, but posts not found
- Multiple archives for cpt, taxonomies, terms
- Custom taxonomy in custom post type archive with pagination
- Same permalink structure for all post types?
- How to add base permalink to custom posts?
- Custom Post type and Taxonomy in post URL error
- Hierarchical taxonomy in permalink structure
- How to retrieve the permalink for a specific (custom) term?
- Permalink Trouble with Custom Post Type
- Change Taxonomy Permalinks
- Category / Custom Post Type permalink issue
- Adding rewrite rules to Custom Post-type mixed with Taxonomy
- Add /blog to the “post” post type url
- 404 Error On Custom Taxonomy Pages 2, 3, etc
- Different CPT permalink base on taxonomy
- Hide custom post type slug url from search engine [closed]
- Is it possible for post and custom post type to share a category base slug?
- Permalinks for Custom Post Types and Taxonomies