I managed to find a way to fix this by toying with my Custom Post Type and Taxonomy registrations.
In register_post_type
properties:
'rewrite' => array( 'slug' => 'classes' ),
In register_taxonomy
properties:
'rewrite' => array( 'slug' => 'classes', 'with_front'=> false ),
I now have a clean structure where http://site.com/classes/
points to the post type archive template, http://site.com/classes/languages/
points to the taxonomy archive template and http://site.com/classes/languages/french/
points to the post template
Related Posts:
- ‘No Results Found’ on single post for custom post type
- How to share category taxonomy with custom post type (The Event Calendar plugin)
- How to make a list of companies’ information and display them to user, using custom post types and a custom taxonomy?
- Prevent page slug from interfering with custom post type archive permalink?
- Add .html extension to custom post type taxonomies
- Maintaining WP_Query Relation Among CPT, Custom Taxonomy, Permalinks- CPT UI
- How to get the custom page get_permalink?
- remove custom taxonomy metabox form custom post type
- How to Build a Movie Library in WordPress 3.x
- Custom Post Type causes Page Not Found
- Plugin allowing for artists, events and venues
- custom taxonomy and custom post type url conflict
- Loco Translate: Custom Post and Custom Taxonomy Labels not translated in wp-admin menu
- List taxonomy terms for post as checkboxes
- How to make a proper custom post type link
- auto populate list of questions if user select a category xyz
- How to change permalink to include custom post type
- Plugin generated taxonomies’ permalinks with custom placeholders
- WordPress custom taxonomy not showing
- Rename existing cpt and taxonomy with new textdomain
- how to create hierachial taxonomy and manage under single post type?
- Need to edit author permissions | custom taxonomy
- Error in Fetching Custom Post Type parent Category URL (slug)
- Adding category base to url in custom post giving 404?
- Hidden permalink different from displayed permalink
- Rewrite/Change custom taxonomy slug
- Cannot view Custom Post Type no matter what I try
- CPT-onomies CPT_TAXONOMY->get_terms extremely slow with 6K posts
- How to list the categories by custom taxonomy created?
- Display Custom Post Type and Custom Taxonomy Data on Front End Using Only a Plugin
- Failed to update a post when I add a taxonomy to it
- How do I know if an archive correspond to a custom post type taxonomy?
- How to Display News in a Timeline with Headline, Category, and Time?
- Query Custom Post Types on Available Dates
- How to solve this custom post type goes to 404 page?
- Show all tags on custom post type
- What is the best way for showing a grid of customer logos?
- Custom Post Type Fields
- How to delete all trashed item in one-go
- Best way to specify “article type” in URL
- Template files for Custom Post Type and Taxonomy
- How can I use a file in my plugin as a replacement for single.php on custom-post-type query?
- Custom setup of wordpress comments that are displayed
- publish_post action doesn’t work
- Disable Individual Plugins (specifically in Custom Post Types) on a per-post basis?
- ‘Organize Series Plugin’ as muti author feature
- Using ACF default value to autoincrement a number field
- custom post type don’t appear in the home page
- Can’t use pagination with custom taxonomy
- Edit Permalink Structure For Custom Post Type or Modify .htaccess?
- Getting taxonomy images to display on single-post with their terms
- Where to populate custom terms in custom taxonomy in plugin?
- This WordPress plugin isn’t creating links correctly
- Default taxonomy template in plugin, override in theme
- rewrite_rules() not applying rules on plugin activation only after permalinks menu is clicked
- How to Resize the Custom Post Images?
- Amazon.com intergration with WordPress?
- How to set category correctly for a custom post created by a remote API call?
- Sticky option for custom post types without using custom fields or plugins
- Template for custom post type when taxonomy is in the URL
- How to use template_include hook with form submission?
- Permalink problems with custom post type and custom taxonomy
- Trying to add a page template for my custom post type from a plugin, but it will not display in the template dropdown unless file is in theme
- flush_rewrite_rules() not working with update_option_{$option}
- Adding custom meta boxes to specified custom post type
- How do I make reusable content blocks for header and footer when using WordPress headless with another front-end?
- Add_rewrite_endpoint doesn’t work with post name permalink structure
- posts from multiple post types in one slider
- How do we update a custom file upload field with the Advanced Custom Field plugin?
- Custom Post Type – custom form in dashboard
- Plugin not working & permalink erorr after upgrade to php 7x on Nginx
- Post URL based on Custom Post Types variables
- Disable plugin If slug contains specific word
- Custom Post Type Advanced Slug
- $pages = get_pages(‘child_of=’.$post->ID); Why arguments are concatenated?
- How do I create a custom permalink structure for a page template
- How to filter a custom post type by custom taxonomy without 404
- How to get all posts related to particular category name on button click?
- Getting only one post per category
- wp_insert_term() doesnt insert a term
- WordPress custom permalink and archive link for custom post type
- Ideas on how to organize a project [closed]
- How to get CPT category checkbox list and show post of selected(multiply) checkboxes via ajax?
- I want to filter my products with attributes [closed]
- Renaming Custom Taxonomy Values
- Multiple archives to display parent and subcategories content
- WP-API Custom Post Type json_no_route
- Price comparison table based on Custom Post Type?
- How can I list custom post type categories of portfolio
- Enabling permalinks disables custom page template
- Preview with Custom Post Type Not Working
- Show related posts based of current ACF field name in a single page post (a loop within loop)
- How can I store data from custom fields to custom tables?
- 2 wordpress site same database
- Plugin generated unexpected output – No PHP errors
- How to Include Custom Post Content From Plugin
- Custom Template for wordpress cpt plugin
- “Allowed memory size” problem [closed]
- Custom post type change excerpt more and excerpt length
- Smarter navigation plugin and custom taxonomies