Archived topic
Menu search not working on EN website
25 replies · Started by Zuzana on May 7, 2019
Any chance you can update your site URL in your original post? The current one doesn't seem to be working anymore.
Sure, here is the website: https://marekstraka.com/, we had there ERR_CONNECTION_TIMED_OUT error lately but now it is working for me so hopefully you will be able to access it too. :)
I tried it but now again the problem with 404 error popped up in Slovak language version, the URL is https://marekstraka.com/sk?s=financie instead of https://marekstraka.com/?s=financie, English search works now
Weird, sorry about all the changes.
I just simplified it so it should use /en/ (or whatever the current language is).
However, if sk is the current language, it shouldn't output anything: https://generatepress.com/forums/topic/menu-search-not-working-on-en-website/#post-893040
I tried it and for SK it created url like this: https://marekstraka.com/sk/?s=financie, still turning 404
I'm not sure what's up with their current language function.
I've added a var_dump() function to the code here: https://generatepress.com/forums/topic/menu-search-not-working-on-en-website/#post-893040
It should output some debugging code when viewing your site in SK/other languages. Can you share that output with me?
for Slovak language it says: string(3) "sk/"
for English language it says: string(3) "en/"
Hello Tom, now it is working! Thank you really much for your great support and help! :)
Awesome! Glad we got it working :)