title: Wordpress Searches outside of Directory
body: <p>I recently added a new installation of WordPress to a new directory on my site. Everything seems to be working fine except the search function.</p>
  
  <p>When I search for something it searches and then displays results (or lack thereof) in my home directory install of WordPress.</p>
  
  <p>So when I go to <strong>mysite.com/freshinstall</strong> and do a search it displays 
   results at <strong>mysite.com/?s=searchtest&amp;x=0&amp;y=0</strong> instead of <strong>mysite.com/freshinstall/?s=searchtest&amp;x=0&amp;y=0</strong></p>
  
  <p>This is my Search Form. </p>
  
  <pre><code>&lt;form action="/" method="get"&gt;
      &lt;label for="search"&gt;Search in &lt;?php echo home_url( '' ); ?&gt;&lt;/label&gt;
      &lt;input type="text" name="s" id="search" value="&lt;?php the_search_query(); ?&gt;" /&gt;
      &lt;input type="image" alt="Search" src="&lt;?php bloginfo( 'template_url' ); ?&gt;/images/search.png" /&gt;
  &lt;/form&gt;
  </code></pre>