Add flush_rewrite_rules(); after your register taxonomies. That fixed it for me.
Edit
Do make sure you do it on install of your plugin if you’re using it on one. It should only be run once on pug-in activation – and not on every page load. Alternatively visit Settings > Permalinks page as this flushes the rules too.
Related Posts:
- Custom Taxonomy Leads to 404 Page – Permalink Structure Flushed
- How to pass posts_per_page and paged params query vars to custom taxonomy archive urls?
- 404 error- issues with pages after adding custom rules for posts
- Permalink Problems
- 404 Error on Custom Post Type / Custom Taxonomy
- Custom taxonomy throw error 404
- problem : Custom taxonomy template not showing
- How to pass posts_per_page and paged params query vars to custom taxonomy archive urls?
- Hierarchical taxonomies in permalink cause 404 for sub term archive
- Custom Taxonomy Archives Page Errors
- Error 404 in Custom taxonomy with pagination
- Broken paths on taxonomies after changing permalink to post name
- Custom taxonomy rewrite in permalinks for posts gives 404 on pages
- Front-End Custom Taxonomy Tag Select
- Create custom taxonomy and Display in metabox dropdown
- Override Taxonomy Template
- Set tax_query conditionally with new WP_Query
- how to store values in database at hierarchical view
- Strip tags from a the terms() function
- Adding content to custom taxonomy category pages
- Display formatted list of taxonomy terms with last seperator different
- Why can’t I use an array of term slugs in WP_Query?
- Using wp_dropdown_categories in widget options
- Trying to add taxonomy to get_categories() but it’s not working. How to fix this?
- Proper WP conditional tag to check for existing taxonomies to list out terms with wp_list_categories?
- Custom taxonomy archive page requires ?post_type= in url
- Custom taxonomy terms not showing as list Gutenberg Editor WordPress
- Twin value tags as an esoteric taxonomy
- Display a colour of custom taxonomy on the page
- Adding a custom taxonomy to “nav_menu_item”
- Clean Custom URL for Serach + Custom Taxonomy
- Advanced search redirecting to another page then filter further
- Filter through custom taxonomy with an array of taxonomy IDs
- Add attribute taxonomy through code don’t appear in admin product page
- pagination not working on custom-taxonomy template
- Limit Display Number Of Taxonomy Term
- Custom arguments in WP_Query
- save custom term – hook create_term doesn’t work
- Sort and paginate custom post taxonomies alphabetically
- Custom Taxonomy Breaks Pages
- Several taxonomy query (like filter)
- Current taxonomy name (not term!) given a post ID
- Taxonomy Overview Page?
- How to avoid foreach error WebDevStudio’s WDS_Taxonomy_Radio taxonomy metabox class?
- Search box with field hidden till drop down selection is made
- Can You Build Page Templates Without Extra Files
- How do i make this Taxonomy term code work?
- Unable to get the Parent Custom Taxonomy Terms
- Unsetting post_tag taxonomy breaks term description for other taxonomies
- Taxonomies on Pages with Custom Formatting
- Catch all taxonomy template
- Custom taxonomy huge list not loading properly in select box
- Query Multiple Custom Taxonomies
- Terms added to custom taxonomy for custom post type only appear in Rest when added in code
- Is there a way to nest taxonomies or custom fields deeper than one level below the post type?
- WordPress REST API – get custom taxonomy category posts
- Pull data from MySQL and add it to terms
- Taxonomy and Page Slug Same
- Prioritise Pages over Taxonomy Term Root Archive, but not Taxonomy Term Child Archives
- Showing custom taxonomy in woocommerce signle product page
- Main query disturb pre_get_post by category query
- Tracking the name of a custom taxonomy
- Is it possible to filter a taxonomy archive by other taxonomies that are on posts?
- Get custom taxonomy terms that contain posts that have another taxonomy term
- Custom taxonomy not showing in grid view for ‘attachment’ post type
- How To Create Dynamic Permalink To Custom Taxonomy List of Current Posts?
- How to create archive pages for metadata query generated posts (so without taxonomy)?
- How to create a completely functioning separate archive for posts from only 1 or 2 specific categories
- Make relation of custom taxomies
- How to get list of custom taxonomies based on custom post type
- how to filter the data’s comparison operators (>= &
- Sort Taxonomy List by Custom Values
- How to filter a taxonomy meta field to the ‘single_term_title’ filter hook
- Using wp_tag_cloud with only current post tag with special class
- Creating a list with multiple categoreis and options
- Query pages by child term
- Custom taxonomy applied to links [duplicate]
- Next/Previous links in custom taxonomy, where item may belong to multiple terms
- Custom Taxonomy registered with multiple custom posts
- Custom taxonomy page uses index.php
- Taxonomy term breadcrumb; how?
- Insert term description programmatically into hierarchical custom taxonomy
- Custom Taxonomy + JQuery Tabs
- Transfer taxonomy to custom field
- Get all taxonomy posts by id
- Custom Taxonomy Archive URL rewrite
- Unable to display the post titles in a drop down
- Custom Taxonomy Template Variables Available?
- i need to show featured post on custom taxonomy page
- How can I get the term_id from the action hook ‘set_object_terms’?
- Group custom taxonomies based on tags contained in their posts
- Taxonomy Child Not Updating Unless I Click Update Twice
- Adding terms to custom post type – incorrect term being applied
- Save selected terms in order of custom taxonomy in post
- Taxonomy entries are spawning copies of existing entries with the new title as the existing ID, since upgrade
- Replace post author in header by custom taxonomy
- How to enforce a requirement for custom taxonomy
- Change taxonomy key of existing and future taxonomy posts
- Equivalent setup_postdata for Taxonomy Term?
- Adding Category to Child Posts Permalink