Set a PHP info page in the es subdirectory:
Code:
<?php phpinfo(); ?>
And call the PHP info page from a browser. Look for es.symptoms101.com on the page. Is it by HTTP_HOST or something else?
The code above was to attempt to get the correct site_id depending on what (sub)domain the user entered prior to searching, without having to change the HTML form on each page.
You might try using the following in the HTML form instead:
Code:
<input type='hidden' name='site' value='XX'/>
<input type='hidden' name='path' value=''/>
<input type='hidden' name='refine' value='1'/>
Where XX is the site_id number from the sites table.
You might may to tweak the HTML like so:
Code:
<input type='hidden' name='site' value='XX'/>
<input type='hidden' name='path' value='es/'/>
<input type='hidden' name='refine' value='1'/>
If the URLs in the sites table are www instead of subdomains.