Title: Bug found with search widget
Last modified: August 22, 2016

---

# Bug found with search widget

 *  Resolved [redywebs](https://wordpress.org/support/users/redywebs/)
 * (@redywebs)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/bug-found-with-search-widget/)
 * Hello, after migrating from mqtranslate everything is working correctly on our
   site except for the WP search widget. It just works in default language, in all
   other languages it throws a 404 error. [http://www.quicksilvertranslate.com](http://www.quicksilvertranslate.com/)
 * [https://wordpress.org/plugins/qtranslate-x/](https://wordpress.org/plugins/qtranslate-x/)

Viewing 15 replies - 1 through 15 (of 24 total)

1 [2](https://wordpress.org/support/topic/bug-found-with-search-widget/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/bug-found-with-search-widget/page/2/?output_format=md)

 *  Plugin Author [Gunu](https://wordpress.org/support/users/grafcom/)
 * (@grafcom)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/bug-found-with-search-widget/#post-5833081)
 * [@redywebs](https://wordpress.org/support/users/redywebs/),
 * I have tried it on several sites but I can not reproduce that.
 * At your site first search in English for hotel – which gives a result.
 * Then changed the language and that gives also the desired result:
    [http://www.quicksilvertranslate.com/it/search/hotel/?s=hotel](http://www.quicksilvertranslate.com/it/search/hotel/?s=hotel)
 * But with the search widget in italian it gives a strange link and a 404:
    [http://www.quicksilvertranslate.com/it/clienti/soluzioni-per-lindustria/it-internet-and-e-commerce?s=hotel](http://www.quicksilvertranslate.com/it/clienti/soluzioni-per-lindustria/it-internet-and-e-commerce?s=hotel)
 *  Thread Starter [redywebs](https://wordpress.org/support/users/redywebs/)
 * (@redywebs)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/bug-found-with-search-widget/#post-5833103)
 * [@gunu](https://wordpress.org/support/users/gunu/) that’s right, if you try searching
   from any of the non-default languages it always throw an 404 error. I’m using
   the default WP search widget. Any idea what the problem could be?
 *  Plugin Author [Gunu](https://wordpress.org/support/users/grafcom/)
 * (@grafcom)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/bug-found-with-search-widget/#post-5833106)
 * [@redywebs](https://wordpress.org/support/users/redywebs/),
 * can you understand/explain the strange link?
 * /it/**clienti/soluzioni-per-lindustria/it-internet-and-e-commerce**?s=hotel
 *  Plugin Author [Gunu](https://wordpress.org/support/users/grafcom/)
 * (@grafcom)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/bug-found-with-search-widget/#post-5833110)
 * [@redywebs](https://wordpress.org/support/users/redywebs/),
 * did you use the language selector widget?
 *  Thread Starter [redywebs](https://wordpress.org/support/users/redywebs/)
 * (@redywebs)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/bug-found-with-search-widget/#post-5833111)
 * [@gunu](https://wordpress.org/support/users/gunu/) no idea why, it seems to throw
   a random page plus the search bit ?s=hotel. It happens in all other languages
   and it is never the same page this is the result in spanish: /es/2732/es-in-the-
   us?s=hotel
 *  Plugin Author [Gunu](https://wordpress.org/support/users/grafcom/)
 * (@grafcom)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/bug-found-with-search-widget/#post-5833113)
 * [@redywebs](https://wordpress.org/support/users/redywebs/),
 * I see this <ul id=”qtranslate-chooser” at your language selector on my site it
   is <ul id=”qtranslate-2-chooser”
 * I do not know if this affects something.
 *  Thread Starter [redywebs](https://wordpress.org/support/users/redywebs/)
 * (@redywebs)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/bug-found-with-search-widget/#post-5833114)
 * [@gunu](https://wordpress.org/support/users/gunu/), I did use the `echo qtranxf_generateLanguageSelectCode('
   image');` in header.php
 *  Plugin Author [Gunu](https://wordpress.org/support/users/grafcom/)
 * (@grafcom)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/bug-found-with-search-widget/#post-5833121)
 * The search form used as a widget?
 *  Thread Starter [redywebs](https://wordpress.org/support/users/redywebs/)
 * (@redywebs)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/bug-found-with-search-widget/#post-5833123)
 * Yes, the default WP widget
 *  Plugin Author [Gunu](https://wordpress.org/support/users/grafcom/)
 * (@grafcom)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/bug-found-with-search-widget/#post-5833127)
 * under language settings “Compatibility Functions” checked, if not then you could
   try that
 *  Thread Starter [redywebs](https://wordpress.org/support/users/redywebs/)
 * (@redywebs)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/bug-found-with-search-widget/#post-5833131)
 * I have try enabling “Compatibility Functions”, no luck!
 *  Plugin Author [Gunu](https://wordpress.org/support/users/grafcom/)
 * (@grafcom)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/bug-found-with-search-widget/#post-5833135)
 * not coplete random but depending on the language it is always the same.
 * /it/clienti/soluzioni-per-lindustria/it-internet-and-e-commerce?s=fiets
    /it/
   clienti/soluzioni-per-lindustria/it-internet-and-e-commerce?s=calendar
 * /es/2732/es-in-the-us?s=fiets
    /es/2732/es-in-the-us?s=calendar
 * Maybe John (plugin author) knows a reason for this.
 *  Thread Starter [redywebs](https://wordpress.org/support/users/redywebs/)
 * (@redywebs)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/bug-found-with-search-widget/#post-5833137)
 * Thank you [@gunu](https://wordpress.org/support/users/gunu/), I hope he has a
   closer look at this bug.
 *  Plugin Author [Gunu](https://wordpress.org/support/users/grafcom/)
 * (@grafcom)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/bug-found-with-search-widget/#post-5833139)
 * you could also try to deactivate all plugins apart from qTranslate X and see 
   if it works then.
 * Also try a standard theme to check
 *  Thread Starter [redywebs](https://wordpress.org/support/users/redywebs/)
 * (@redywebs)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/bug-found-with-search-widget/#post-5833148)
 * I have also tried deactivating other plugins, but the bug persist.
 * It seems when it founds the country code in a post or page title throws that 
   url and append the search to it, and I don’t think it has anything to do with
   the theme used.

Viewing 15 replies - 1 through 15 (of 24 total)

1 [2](https://wordpress.org/support/topic/bug-found-with-search-widget/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/bug-found-with-search-widget/page/2/?output_format=md)

The topic ‘Bug found with search widget’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/qtranslate-x_f9f9f9.svg)
 * [qTranslate X](https://wordpress.org/plugins/qtranslate-x/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/qtranslate-x/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/qtranslate-x/)
 * [Active Topics](https://wordpress.org/support/plugin/qtranslate-x/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/qtranslate-x/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/qtranslate-x/reviews/)

 * 24 replies
 * 3 participants
 * Last reply from: [redywebs](https://wordpress.org/support/users/redywebs/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/bug-found-with-search-widget/page/2/#post-5833299)
 * Status: resolved