I have solved this problem.
I read this thread, and then ended up using this:
// prevents home redirection
add_filter('pll_redirect_home', 'no_home_redirection');
function no_home_redirection($redirect) {
return false;
}
Solved now.
Thanks!
Hello everyone!
I have had some of the troubles that @gerlos was having, and reading this thread I was able to solve them.
However, I still have a problem that I cannot seem to work around.
When I try to search for any string, I get an “Index of” page result, and I can see that the form is having it’s action in a wrong place.
I’m on a localhost, and this is the url I get redirected to (action of form):
http://192.168.56.111/web/en/?s=test
The same thing happens in the second language (es).
Any idea on how to solve this?
Thanks and regards
Mariano