Title: Search URL modification
Last modified: August 31, 2016

---

# Search URL modification

 *  [elward](https://wordpress.org/support/users/elward/)
 * (@elward)
 * [10 years ago](https://wordpress.org/support/topic/search-url-modification/)
 * Searches for relevant terms are generating a blank page. The URL for the results(
   blank page) is [http://www.mysite.com/?s=searchterm](http://www.mysite.com/?s=searchterm).
   I need to modify the URL to [http://www.mysite.com/applicant/?s=searchterm](http://www.mysite.com/applicant/?s=searchterm).
   When I manually add “applicant” to the URL my results show properly. Is this 
   possible?
 * Thanks for an awesome plugin.
 * [https://wordpress.org/plugins/relevanssi/](https://wordpress.org/plugins/relevanssi/)

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

 *  Plugin Author [Mikko Saari](https://wordpress.org/support/users/msaari/)
 * (@msaari)
 * [10 years ago](https://wordpress.org/support/topic/search-url-modification/#post-7322847)
 * You need to change your search form to point to the correct URL. The form `action`
   parameter will determine the URL of the search results page URL.
 *  Thread Starter [elward](https://wordpress.org/support/users/elward/)
 * (@elward)
 * [10 years ago](https://wordpress.org/support/topic/search-url-modification/#post-7322993)
 * Ok where do I locate the form action parameter? I have the free version of the
   plugin.
 *  Plugin Author [Mikko Saari](https://wordpress.org/support/users/msaari/)
 * (@msaari)
 * [10 years ago](https://wordpress.org/support/topic/search-url-modification/#post-7323001)
 * I don’t know, as Relevanssi has nothing to do with that. It’s up to your theme.
   The default WP search form should work fine (if it doesn’t, then the problem 
   is in your site settings).
 *  [Paulh267](https://wordpress.org/support/users/paulh267/)
 * (@paulh267)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/search-url-modification/#post-7323056)
 * Mikko, I have a question similar to this. Is it possible to add extra parameters
   to the search URL?
 * Current – domain.com/?s=query
    Desired – domain.com/?post_type=product&product_cat
   =category&s=query
 * I added
 *     ```
       <input type="hidden" name="post_type" value="product" />
       <input type="hidden" name="product_cat" value="category" />
       ```
   
 * to my search bar, which works fine when relevanssi IS NOT installed. When relevanssi
   IS installed it doesn’t return any results?
 *  Plugin Author [Mikko Saari](https://wordpress.org/support/users/msaari/)
 * (@msaari)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/search-url-modification/#post-7323057)
 * Paulh267, that should work, Relevanssi does support post type and taxonomy parameters
   and that’s the way I recommend adding them.
 * If you try just one of them, does it work?
 * (And please start a new thread for your support question, since it’s a different
   question than the one originally asked in this thread.)
 *  [Paulh267](https://wordpress.org/support/users/paulh267/)
 * (@paulh267)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/search-url-modification/#post-7323058)
 * Hi Mikko, thanks for the reply. I’ve started another thread for this conversation–
   [https://wordpress.org/support/topic/url-rewriting-9?replies=1#post-8420996](https://wordpress.org/support/topic/url-rewriting-9?replies=1#post-8420996)

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

The topic ‘Search URL modification’ 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/)

 * 6 replies
 * 3 participants
 * Last reply from: [Paulh267](https://wordpress.org/support/users/paulh267/)
 * Last activity: [9 years, 12 months ago](https://wordpress.org/support/topic/search-url-modification/#post-7323058)
 * Status: not resolved