Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I have a custom post type 'products' with custom taxonomy 'brands'. My URL structure should be:

  • domain.com/brands - should list the brands
  • domain.com/brands/brand/ - should list products of the selected brand
  • domain.com/brands/brand/product/ - should show the selected product

How do I define the URL rewrite of the CPT / taxonomy for this to work, and what template file lists the terms of the brand taxonomy, instead of listing posts?

share|improve this question
At least the first part can be done with my answer here: wordpress.stackexchange.com/questions/89535/… –  helgatheviking Mar 7 '13 at 4:27

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.