Well a few weeks on and my answer does seem to work – its interesting hearing people talk of using filters – as far as I am aware they are not necessary.
Whether /%product_cat%
has any effect I am not sure so for my solution I’m leaving it out:
Product_Cat taxonomy should be:
'rewrite' => array( 'slug' => 'products','with_front' =>FALSE, 'hierarchical' => true )
Products Custom Post type needs to change to:
‘rewrite’ => array( ‘slug’ => ‘product’,’with_front’ => FALSE ),
Related Posts:
- Pagination throws 404 error on custom taxonomy archive pages
- Pagination throws 404
- Custom Taxonomy archive returns 404
- Custom Taxonomy 404
- Custom Permalink with Dynamic Taxonomy for Custom Post Type – Works, but breaks other permalinks
- custom post type and custom taxonomy url conflict
- How To Create A Custom Taxonomy 404 Page
- Custom taxonomy in URL showing 404
- Custom Post Type / Two level deep taxonomy (cat. and subcat.) uri problem (error 404)
- Wrong request query on cpt and tax
- Custom post URL 404 error
- Custom post type permalink tag 404
- Custom post type / taxonomy rewrite archive page 2 gives 404
- Hierarchical permalinks for custom post type and taxonomy
- Top Level pages in wordpress giving 404, but child pages working fine
- Custom post type pagination 404
- How to solve this custom post type goes to 404 page?
- Custom taxonomy page returns 404
- Custom taxonomy template list not working (404)
- How to filter a custom post type by custom taxonomy without 404
- Custom post type categories gives 404 error
- Safe to throw 404 error in request filter?
- Custom taxonomy returns 404 even with saving permalinks
- Making permalink for custom post type/custom taxonomy. Stuck with 404 in the single post
- 404 error next-page [2] PageNavi custom type taxonomy
- What am I doing wrong with my taxonomy?
- 404 Error On Custom Taxonomy Pages 2, 3, etc
- Custom Post Type Permalink / Rewrite not working immediately
- Custom Post type in separate database table for syncing
- Creating Photo Gallery System with Custom Post Type
- Custom Taxonomies Terms as Post Title for Custom Post Types upon Publishing
- has_term or in_category for Custom Post Types
- WP_Query -> sort results by relevance (= most tags / taxonomy terms in common)
- Correct way to use a form to to filter custom posts by taxonomy terms?
- WordPress custom post type category pagination 404 Error
- Custom-Taxonomy as categories: Remove “most-used” tab?
- Custom Permalinks for Custom Post Types and Taxonomies
- how to group custom post type posts by custom taxonomy terms
- Showing current taxonomy terms
- Unable to save custom taxonomy terms in a custom-built metabox
- Custom Taxonomy order by Custom Field
- Custom Post Type: How to display all of same taxonomy?
- Show ACF field from custom taxonomy and display on the single template
- Custom Post Type Taxonomies -Posts not showing in Category or Tag pages
- Display custom post type in hierarchical order with get_terms
- Am unable to reset a query properly
- Custom Post Type permalink shows wrong page: homepage/index.php
- using $wpdb to get custom post type with term
- Display Custom Toxonomy In WordPress and theme Widgets category selection dropdown list
- Single post with a Custom Post Type returns 404, when archives of the CPT work correctly
- How do I require the specification of term in a custom post type and custom taxonomy?
- Custom Post Type Pagination Paginates Only in URL Structure
- I am trying to hide a custom post type category to logged in users with Pre_Get_Posts
- Hierarchial Custom Post Types/Taxonomies
- Only show posts with date of today or in the future (i.e don’t show past posts)?
- Rename a slug label
- Custom post type permalink returns 404 when set to private
- Migrating Hierarchal Taxonomy Categories Between Post Types
- Exclude latest post from WP_Query taxonomy term loop
- Use different categories for a custom post
- Filter posts by specific custom category and current tag
- Permalinks not working (404) for the ‘item’ post type
- Custom Post Type URL doesn’t work anymore
- using custom taxonomies with custom post types: display list of posts by ‘category’
- Custom category URL not displaying posts
- Display featured posts for a custom post type by taxonomy
- Setup page template array in a custom post type
- Change Dropdown jQuery to show/hide but with default place holder that shows all
- Get Posts List of Current Selected Custom Taxonomy in Shortcode
- Custom taxonomy terms as children of multiple custom post types
- Custom Taxonomy and Categories
- Get the taxonomy value in the post loop inside the archive page
- How to display custom post type taxonomy in Contact Form 7 text field
- Custom Post Type & Taxonomies – Rewrite
- Filter in Custom post type to find the parent post
- Excluded Custom Taxonomy Term Posts Displaying in loop
- Change CPT permalink to use the category
- Listing all custom posts having a specific taxonomy whatever the terms
- Custom Post Type slug and WPML gets 404 error
- Create a Hierarchical List of Custom Taxonomies AND Posts
- Previous/Next custom post links within custom taxonomy
- Custom Taxonomy page redirecting to 404 page
- Pretty permalink structure with multiple (AND OR) taxonomies
- Filter a custom taxonomy from displaying a button all other taxonomies can show
- Custom Taxonomy is disabled on Edit page
- Override “Parent” input for custom taxonomy
- Problem with type plugin and custom taxonomies
- WordPress Custom taxonomy template
- CPT unsaved draft gives error 404 – when Post Formats support enabled
- Custom post type – two taxonomies
- Why is this custom post type defaulting to archive.php?
- Sorting custom post types by taxonomy (So close)
- Check if taxonomy is attached to at least one post in a post-type
- Getting (Invalid) when adding custom taxonomy of custom post type link in menu [closed]
- Display custom taxonomy posts of custom post types
- Return Custom Post Type Categories
- Custom Post type as Taxonomy
- ACF Relationship: Group posts by parent category term, then child [closed]
- Get X posts with the same terms as the current post (custom post type and custom taxonomy)
- Show custom category archive as front page and remove taxonomy slug from urls