Anonymous User
(@anonymized-13630879)
Hi,
I had the same problem with double language codes in URL and found out that it was a function that is called “qtrans_fixSearchForm” in qtranslate_hooks.php.
My problem started when i added search functionality and multiple languages to my WordPress site.
If you still got the problem it would probably work after you uncomment “qtrans_fixSearchForm”-function in qtranslate_hooks.php (qTranslate’s plugin folder). You would find the function somewhere around line ~200 in qtranslate_hooks.php.
Hope this will help others that got the same problem.
Hm.. unfortunately that didn’t help, im getting the double language for some style sheets and javascript after enabling the qts.
I have the same problem when the user search in my site. if the user search in the default x language the URL become:
http://www.mydomainname.com/x/x/?s=anykeyword
And if he search in y language the URL become:
http://www.mydomainname.com/y/y/?s=anykeyword
And in both cases he take 404 Page Not Found.
Hey guys, if you have search problems try this solution from this site: http://kuchenundkakao.wordpress.com/2012/08/10/qtranslate-slug-bugfixing/
as for others that may have some 404 stylesheet errors try looking into your template header codes. In my case it was template error so i hardcoded the problematic ones.