As you’ve said in your comment, the solution – in your case – was to change the slug of your custom taxonomy. The trouble you’ve been running into here is that you had no distinct and unique permalink structure. Namely, it has been unclear to WordPress if the slug portfolio is supposed to be the post type or tag archive, because of that it hasn’t been able to chose a distinct procedure, like which template would be correct in this case, which leads to the an error like you described it.
Related Posts:
- Custom post types, taxonomies, and permalinks
- How to create a permalink structure with custom taxonomies and custom post types like base-name/parent-tax/child-tax/custom-post-type-name
- Remove taxonomy slug from a custom hierarchical taxonomy permalink
- Shouldn’t this be easy?! Custom post type/custom taxonomy permalink
- Custom Post Type Permalink / Rewrite not working immediately
- How do I append multiple taxonomies to the URL?
- WordPress Rewrite Rules for Custom Post Type and Taxonomy
- Custom Post type & Taxonomy URL structure
- Combining Multiple Taxonomies in one URL
- Why does a custom post type need the ”hierarchical’ args setting?
- Templates for Custom Post Types and Custom Taxonomies
- How to modify URL structures in custom post types and taxonomies or terms
- Help with a TV series Rewrite structure
- Custom permalinks
- array_pop() expects array, boolean given for $event_type_term ->slug
- custom post type permalinks with category and tags
- Permalink rewrite with custom post type and custom taxonomy
- Add links to post categories and taxonomies in wysiwyg link modal?
- Custom Permalinks for Custom Post Types and Taxonomies
- Custom Post Type with Nested Taxonomy and Template Files
- Semantic URL Custom Post Type and Taxonomies permalinks
- How to rewrite custom post type URL for multiple depths instead of one specific depth
- Maintaining WP_Query Relation Among CPT, Custom Taxonomy, Permalinks- CPT UI
- Custom post type category, taxonomy and URL rewrite problem
- Page to display an archive of taxonomies
- Custom Post Type: How to display all of same taxonomy?
- How to create a permalink for custom taxonomies and custom post types like base-name/parent-tax/child-tax/custom-post-type-name
- Remove “-2” from a Toolset Types URL with the same post name
- How to show custom taxonomy in the permalink?
- Date-based permalinks for Custom Post Type, and custom taxonomy permalinks
- Remove Taxonomy Slug when No Taxonomy is Assigned to Custom Post Type?
- Include taxonomy slug in url?
- Custom permalink – append taxonomy name and term name at the end of permalink
- Permalinks for custom post-types within custom taxonomies not found
- custom post type and custom taxonomy url conflict
- Add hierarchical taxonomy to permalink for custom post type
- Custom post types, taxonomies, and permalinks
- How to specify URLS for custom posts & taxonomies
- Custom post types, taxonomies, and permalinks
- Permalinks not working for custom taxonomy on custom post type
- Parent & Child Taxonomy slugs in custom post permalink
- Custom Post Types and independent Categories – complex Taxonomy
- custom permalinks based on taxonomies for custom post type
- Custom taxonomy in URL showing 404
- 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
- create a subcatagory for a custom post type and out put url as posttype/subcategory/item
- 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
- 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
- Permalinks: custom post type -> custom taxonomy -> post
- CPT’s with landing page instead of archive – Url Rewrite?
- How to change permalink to include custom post type
- Custom post type permalink tag 404
- Hierarchical permalinks for custom post type and taxonomy
- set permalink for CPT
- Custom permalink with child taxonomy terms
- Custom post type Permalinks with hierarchical Taxonomies
- How to solve this custom post type goes to 404 page?
- Can’t use pagination with custom taxonomy
- 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
- Enabling permalinks disables custom page template
- Custom post type category permalinks and archive pages
- Custom Permalink For Custom Post Type – Working Fine But Broken For Pagination
- Set priority to permalinks
- Changing CPT permalink
- Changing permalink of default Post with custom post
- Custom Taxonomy Archive generates 404
- 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?
- 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
- Custom taxonomy in custom post type archive with pagination
- Same permalink structure for all post types?
- Custom Post type and Taxonomy in post URL error
- Hierarchical taxonomy in permalink structure
- How to retrieve the permalink for a specific (custom) term?
- Remove Custom Taxonomy Slug only without removing Custom post type slug in permalinks
- Permalink Trouble with Custom Post Type
- WordPress Custom Permalink Structure with Custom Post Type and Taxonomies
- Category / Custom Post Type permalink issue
- Permalinks Works for Custompost type but not with pages Why?
- Problem with Custom Post Types, Taxonomy, permalink, Archive
- 404 Error On Custom Taxonomy Pages 2, 3, etc
- Two Permalinks with one Taxonomy (custom taxonomy) and (custom post type -> custom taxonomy)
- Modify permalink of CPT archive to support two taxonomies
- Permalinks for Custom Post Types and Taxonomies
- Have Custom Taxonomy Slug Fall Under Custom Post Type Slug
- Custom Post Types Do Not work on this permalink setting https://somedominaname.com/%category%/%postname%/