• Resolved charvey5441

    (@charvey5441)


    I have just setup a network with multiple blogs ( in subdirectories). I imported old blogs into the new installation. Now started testing and noticed search engine keeps going back to the main site which is not the expected behavior.

    I have seen another thread for this saying it should work but could not understand exactly how they fixed the issue except for upgrading. Which is what I am doing in the first place. We are using version 3.1.2 at this time. 1 network, 3 blogs –

    Can someone help me find out what I am suppose to be looking for because I am not sure where to look.

    ps: I noticed that if I enter the uri, of the particular blog I am searching, back into the url(because the search removes it to get to the default)…then it works fine – so…is it at the .htaccess level or in the database or is it a setting I missed in the dashboard?

    Tks for your help!
    ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter charvey5441

    (@charvey5441)

    We found the issue:

    in wp-content/themes/magatheme

    <form name=”search”
    class=”frm_search”
    method=”get”
    action=”<?php echo $_SERVER[‘PHP_SELF’]; ?>”>

    <input type=”text” name=”s” id=”s” size=”25″ onclick=”if(this.value == ‘Search…’) this.value=”;” onblur=”if(this.value.length == 0) this.value=’Search…’;” tabindex=”1″ />

    We changed:

    action=”<?php echo $_SERVER[‘PHP_SELF’]; ?>”>

    For:
    action=”<?php echo $_SERVER[‘REQUEST_URI’]; ?>”>

    In other words, it was the theme. ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘search not working for blogs in Network – goes to default site’ is closed to new replies.