WordPress.org

Ready to get started?Download WordPress

Forums

Taxonomy to use Post Type's permalink (1 post)

  1. Nathan Reynolds
    Member
    Posted 4 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Topic

  • RSS feed for this topic
  • Started 4 years ago by Nathan Reynolds
  • This topic is not resolved
  • WordPress version: 3.01