Change custom taxonomy archive permalink
You can use the rewrite parameter to customize the taxonomy permalinks. Here’s an example which links the taxonomy to the default post post type: register_taxonomy( ‘video_category’, ‘post’, [ ‘public’ => true, ‘rewrite’ => [ ‘slug’ => ‘videos/category’, ], // … your other parameters .. ] ); Don’t forget to flush the rewrite rules — just … Read more