any suggestions for this? unfortunately no as I don't have WPML to test problem is the query string for https://domain.com/ar/?s=s is redirected by the 302 functions.php code to https://domain.com/search/s/ and ignoring /ar part. Might need to ask...