Taxonomy to use Post Type’s permalink
-
I was trying out the new custom post types feature and ran into an issue. Just for testing purposes I am making a generic products listing. I got the post type and taxonomy to work but not exactly the way I want.
I’m looping the post type in the page
‘localhost/wordpress/products’. I would like the (hierarchical) taxonomy, catalog, to loop at ‘localhost/products/catalog/%product_catalog%’ but instead it uses the base URL.I tried to use the rewrite array for the catalog taxonomy as…
'rewrite' => array( 'slug' => 'catalog', 'with_front' => true ),
However, that did nothing. I would think since its a taxonomy of the post type and not the ‘blog’ it would use it’s permalink directory, right?
- The topic ‘Taxonomy to use Post Type’s permalink’ is closed to new replies.