WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have separate post type archive and taxonomy archive page. eg. archive-product.php and taxonomy-price.php.

So when i goto example.com/product/?price=100 it redirect to example.com/price/100 and using the taxonomy-price.php to display the posts. It seem the wp take the priority of taxonomy to display to posts.

So what I want is using the archive-product.php to display the posts,how can I do this?

share|improve this question

Have you checked the Wordpress Template Hierarchy Diagram To get an idea how wordpress choose the tempalte. I'm not sure but according to the Wordpress Template Hierarchy, Wordpress will choose default archive.php for custom taxonomy if no special template is specified.

That means you cannot not have archive-product.php to use with Custom Taxonomy archive.

In your case the - example.com/product/?price=100 is archive for prodcts with custom taxonomy price set to 100.

share|improve this answer
Finally I solve it, but in a different way. I just create another custom taxonomy "Product", show now they can share the same taxonomy archive page to display the posts – dev-jim Aug 9 '12 at 17:33

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.