Title: Multiple term search
Last modified: August 20, 2016

---

# Multiple term search

 *  Resolved [nbadano](https://wordpress.org/support/users/nbadano/)
 * (@nbadano)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/multiple-term-search/)
 * Hey Mikko! Thanks so much for an outstanding plugin. It does everything it has
   to, and then some… can’t be happier with it! Will be using on all sites from 
   now on.
 * I do have an issue though: I don’t seem to be able to limit search to more than
   one term. I have a taxonomy called Skills: if I make the url like this: example.
   com/?s=search&skills=skill-goes-here I get the expected functionality. But when
   I pass another slug on the skills variable (like example.com/?s=search&skills
   =skill-goes-here,another-one) only the first one will be used. I tried changing
   the list separator but had no luck either. Is there something I’m missing? Is
   there a specific way of querying multiple terms on the search url? Mind that 
   I want OR functionality, which is what Relevanssi provides, so we are good there.
   I did find that you implemented a “cats=” variable to sort this out on categories,
   but couldn’t find anything about custom taxonomies and terms. I’d appreciate 
   you could shed a bit of light on this one!
 * Thanks in advance!
 * [http://wordpress.org/extend/plugins/relevanssi/](http://wordpress.org/extend/plugins/relevanssi/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Mikko Saari](https://wordpress.org/support/users/msaari/)
 * (@msaari)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/multiple-term-search/#post-3493201)
 * Using tax query ([https://codex.wordpress.org/Class_Reference/WP_Query](https://codex.wordpress.org/Class_Reference/WP_Query))
   is the best way to handle multiple terms. If you want to have the parameters 
   in one URL variable, create your own, then use `relevanssi_modify_wp_query` filter
   hook to turn that parameter into well-formed tax query. That gives you the best
   control over the results.
 *  Thread Starter [nbadano](https://wordpress.org/support/users/nbadano/)
 * (@nbadano)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/multiple-term-search/#post-3493207)
 * Extraordinary.
 * Thank you so much for an outstanding plugin and a devotion for helping out users!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Multiple term search’ is closed to new replies.

 * ![](https://ps.w.org/relevanssi/assets/icon-256x256.png?rev=3529670)
 * [Relevanssi - A Better Search](https://wordpress.org/plugins/relevanssi/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/relevanssi/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/relevanssi/)
 * [Active Topics](https://wordpress.org/support/plugin/relevanssi/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/relevanssi/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/relevanssi/reviews/)

## Tags

 * [multiple terms](https://wordpress.org/support/topic-tag/multiple-terms/)

 * 2 replies
 * 2 participants
 * Last reply from: [nbadano](https://wordpress.org/support/users/nbadano/)
 * Last activity: [13 years, 3 months ago](https://wordpress.org/support/topic/multiple-term-search/#post-3493207)
 * Status: resolved