I have custom post type called paintings and it has a custom taxonomy called paintings_category.
Currently I have this situation:
example.com/paintings/A page using
page-paintings.phpexample.com/paintings_category/landscape/Lists all
landscapeitems intaxonomy.phpexample.com/paintings/landscape/painting-title/Displays single painting post types, eg.
single-paintings.php
If I try changing the slug as below, I get a 404 error on:
example.com/paintings/landscape/painting-title/
register_taxonomy(
'paintings_category', array('paintings'),
array(
'hierarchical' => true,
'label' => 'Categories',
'singular_label' => 'Category',
'rewrite' => array( 'slug' => 'paintings' )
)
);
I'd like behaviour to be:
example.com/paintings/ideally list
paintings_categoryas linksexample.com/paintings/landscape/lists all items of
landscapetaxonomyexample.com/paintings/landscape/painting-title/displays single item
Any thoughts on how I can achieve this?
I tried adding paintings as a parent of landscape category in paintings_category but this still leaves me with a 404 on the single.

example.com/paintings/something, how could WordPress know if i'm referring to a page, a post type or a taxonomy? (it can't). – t31os Mar 30 '11 at 13:03