Forums

two blogs, same domain, search works on only one (3 posts)

  1. pintsize
    Member
    Posted 5 years ago #

    I am running two blogs on one site. Blog #2 is in a subdirectory, Blog #1 is the main site. The built-in site search works fine on Blog #2 (in the subdir), but does not return any results on Blog #1, not even using known good search terms.

    Here is the search code for Blog #1:

    <div class="searchbar">
    <form method="get" id="searchform" action="http://www.meria.net">
    <input type="text" value="" name="s" id="s" onfocus="this.select();" />
    <input type="submit" id="searchsubmit" value="Search" />
    </form>
    </div><!--/searchbar-->

    Here is the search code for Blog#2:

    <div class="searchbar">
    <form method="get" id="searchform" action="http://meria.net/meria/">
    <input type="text" value="" name="s" id="s" onfocus="this.select();" />
    <input type="submit" id="searchsubmit" value="Search" />
    </form>
    </div><!--/searchbar-->
  2. peiqinglong
    Member
    Posted 5 years ago #

    I am assuming they're both using two separate databases?

  3. pintsize
    Member
    Posted 5 years ago #

    Correct.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags