Ecommerce Shopify WordPress Discussion

WordPress taxonomy for CPT goes to 404 page

Within WordPress I have set up my Permalinks with a custom structure of /resources/insights/%postname%/ with the category base as resources/insights/category which works exactly as intended. I have a CPT called clients with the following code: register_post_type('clients', array('labels' => array( 'name' => __('Clients'), 'singular_name' => __('Client')), 'supports' => array('title', 'thumbnail'), 'public' => true, 'has_archive' => true, 'show_in_rest' => true, 'publicly_queryable' => true, 'rewrite' => array('slug' => 'clients', 'with_front' => false), 'menu_icon' => 'dashicons-analytics' ) ); this also works as intended. However, I have set up a taxonomy for the clients but when I go to the taxonomy page it presents with a 404. This is my code for the taxonomy: register_taxonomy('client-categories', array('clients'), array( 'hierarchical' => true, 'show_ui' => true, 'show_in_rest' => true, 'show_admin_column' => true, 'query_var' => false, 'rewrite' => array('slug' => 'clients/category', 'with_front' => false), )); Any help would be greatly appreciated.
TurboCommerce make the better internet purchasing globaly

Turbo Multi-language Translator

Make the better internet purchasing globaly

Turbosify SEO Speed Booster

5.0 (7) Free plan available
Get better conversions by improving store loading speed Installed

Turbo Multi-language Chat - AI Customer service in one hand

TurboCommerce make the better internet purchasing globaly
Our products

The help you need, when you need it

App by Turbo Engine

3 apps • 5.0 average rating

Turbosify Speed Booster

5.0 (7)
Get better conversions by optimizing shopify store Google page speed Installed

Turbosify Translator for Wordpress Woocommerce

5.0 (74) Free Wordpress Woocommerce Plugin
Translate your wordpress website to multiple language within 1 click, no configuration needed, no No technical required

Grow your business here

Whether you want to sell products down the street or around the world, we have all the tools you need.