Hi currently I show custom taxonomy with:
$package_category = get_the_term_list( $post->ID, 'package-category', '', ', ' , '' );
if(!empty($package_category)){
echo '<div class="package-info">';
echo '<span class="head">Categories: </span>';
echo $package_category;
echo '</div>';
}
and
register_taxonomy(
"package-category", array("package"), array(
"hierarchical" => true,
"label" => "Package Categories",
"singular_label" => "Package Categories",
"rewrite" => array(
'slug' => '/')));
register_taxonomy_for_object_type('package-category', 'package');
Currently this lists a bunch of tags with a link to category/package-category/ but the "rewrite" => is causing issues as its actually overwritting category/
Is there a way to redirect to category/ instead of rewrite