I have the following search form:
{exp:search:simple_form search_in="entries" status="not closed" form_id="search_form"}
<fieldset>
<div class="input-text">
<label for="search"></label>
<input type="text" name="keywords" id="search" class="input" />
</div>
<input type="submit" name="search_btn" class="search" value="search" />
</fieldset>
{/exp:search:simple_form}When a search is performed and no results are found it uses the default no results template, which I guess is a flat-file template somehwere. When this happens the URI is “/index.php”. Kind of weird, from the docs I would have guess “search/noresults”. But I digress…
The real issue is that when search results *are* found the template that’s loaded is the default home page with the URI “search/results/8bcdfa93d2668e59c3fa520fb33e7675/” (i.e. no search results displayed whatsoever).
What am I doing wrong? Am I supposed to create the /search/results/ template myself? The doc describes “search/results/” as if it already exists. I don’t see why it wouldn’t since “search/noresults/” exists.
EDIT: forgot to mention version 2.1.3 build 20101220