Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Found a work around thanks to mdawaffe’s suggestion to poke around in searchform.php. I’ve replaced the original

    $_SERVER[‘PHP_SELF’]

    in the form’s “action” attribute, with

    get_settings(‘home’);

    That returns the correct address and searches now work correctly.

    I’m having the exact same problem. I tried the above test and on my server here were my results:

    PHP_SELF = SCRIPT_NAME = PATH_INFO = ‘/subdomain/index.php’
    REQUEST_URI = ‘/’

    Oddly, only the search form seems to access these variables, as other functions, like the archive page, etc. all post back properly to “subdomain.domain.com/index.php” instead of “subdomain.domain.com/subdomain/index.php”.

    I’m currently digging around trying to figure out how the other pages are managing to remain unbroken so that I can make some form of substitution.

Viewing 2 replies - 1 through 2 (of 2 total)