my taxonomy is taxonomy-product-range.php and when i type in address/product/ the page goes the index.php when I try address/product-range/ it does the same thing.
I getting a bit confused over what suppose to come up when?
add_action('init', 'catalog_init');
function catalog_init()
{
$labels = array(
'name' => _x('Products', 'post type general name'),
'singular_name' => _x('Product', 'post type singular name'),
'add_new' => _x('Add New', 'product'),
'add_new_item' => __('Add New Product'),
'edit_item' => __('Edit Product'),
'new_item' => __('New Product'),
'view_item' => __('View Product'),
'search_items' => __('Search Products'),
'not_found' => __('No products found'),
'not_found_in_trash' => __('No products found in Trash'),
'parent_item_colon' => '',
'menu_name' => 'Products'
);
$args = array(
'labels' => $labels,
'public' => true,
'publicly_queryable' => true,
'show_ui' => true,
'show_in_menu' => true,
'query_var' => true,
'rewrite' => true,
'capability_type' => 'post',
'has_archive' => true,
'hierarchical' => false,
'menu_position' => null,
'menu_icon' => get_bloginfo('template_url') . '/images/producticon.png',
'supports' => array('title','editor','thumbnail','custom-fields')
);
register_post_type('product',$args);
}
register_taxonomy("product-range", array("product"), array("hierarchical" => true, "label" => "Product Range","capabilities" => array('manage_terms'), "singular_label" => "Product", "rewrite" => true));