WordPress.org

Ready to get started?Download WordPress

Forums

Query Multiple Taxonomies
URL Redirect Trouble (1 post)

  1. Jvn.D
    Member
    Posted 2 years ago #

    I have 3 dropdown boxes (taxonomies), Genre, Type and Year. When I select a term from the dropdown, in this case 'Poet', in just the Genre dropdown, leaving the other two dropdowns blank I get redirected to http://site.com/genre/poet/?type&year

    Same thing when I try to filter posts just by the Type dropdown, and in this case the term being selected is, 'Featured' i get redirected to http://site.com/type/featured/?genre&year.

    When I select an option (2011) for the Year dropdown, leaving Genre and Type blank, I get redirected to http://site.com/2011/?genre&type

    When selecting all 3 options I get redirected to this url,
    http://site.com/2011/?genre=poet&type=featured

    But when using just the Genre and Type option I get redirected to
    http://site.com/?genre=poet&type=featured&year=
    Which works perfectly, I get 404's for the others.

    How can I choose between using either one, two or all three dropdowns, but still get a working link like this:
    http://site.com/?genre=poet&type=featured&year=

    For example, if I were to select 2011 as the year and Poet as the Genre, how can I get it to redirect to
    http://site.com/?genre=poet&type=&year=2011

    Or to redirect to http://site.com/?genre=&type=featured&year= if I just am using the Type dropdown, with the 'Featured' term.

    http://wordpress.org/extend/plugins/query-multiple-taxonomies/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.