Custom Post Type Permalinks allow you edit the permalink structure of custom post type. Change custom taxonomy archive’s permalink to “example.org/post_type/taxonomy_name/term_slug”. Can disable this fix. And support wp_get_archives( “post_type=foo” ). This Plugin published on GitHub. Donation: Please send bitcoin or My Wishlist Translators Japanese(ja) – Toro_Unit French(fr_FR) – Geoffrey Crofte Russian(ru_RU) – Olart, Natali_Z Also checkout Simple Post Type Permalinks Setting on Code Example: register_post_type( 'foo', array( "public" => true, 'has_archive' => true, "rewrite" => [ "with_front" => true ], "cptp_permalink_structure" => "%post_id%" ) );