I'm having issues with my query URLs and cannot get them to be prettified no matter what I use (rewrite rules, etc).
Here is a url example:
http://fungrazing.com/?qmt[pa_meal_type][]=23&qmt[pa_brand][]=34
I'd like it to be:
http://fungrazing.com/meal_type/dessert/brand/alter_eco/
But I would settle for:
http://fungrazing.com/?meal_type=dessert&brand=alter_eco
Why am I getting the brackets [ ] and taxonomy id (23) instead of the taxonomy term?
I'm using /%postname%/ structure and not using any SEO plugin.
When I run the qmt debug function:
function qmt_debug() {
global $wp_query;
echo '<pre>';
print_r($wp_query->query);
print_r($wp_query->_qmt_query);
var_dump($wp_query->_qmt_is_reqular);
echo '</pre>';
}
add_action( 'template_redirect', 'qmt_debug', 8 );
I get this:
Array
(
[tax_query] => Array
(
[0] => Array
(
[taxonomy] => pa_meal_type
[terms] => Array
(
[0] => 23
)
[field] => term_id
[operator] => IN
)
)
)
NULL
That does not look good to me although I don't know enough about rewrite rules/regex to know what is going on.
Any ideas?
http://wordpress.org/extend/plugins/query-multiple-taxonomies/