I am using a simple search tag in the header of my page with the following code:
<div id="search">
{exp:search:simple_form channel="products" result_page="store/search_results"}
<input type="search" name="keywords" id="keywords" placeholder="Search">
<input type="submit" value="go">
{/exp:search:simple_form}
</div>I have validated that the template path is correct, and no matter what I put here, I get the following code rendered, which always points the form action back to the index page:
<div id="search">
<form method="post" action="http://www.sitename.com/index.php" >
<div class='hiddenFields'>
<input type="hidden" name="ACT" value="6" />
<input type="hidden" name="RES" value="" />
<input type="hidden" name="meta" value="uflbUcvTaROF3swL6NGbC5TbUKo8WkynM1VMORMoHW/+ZqV+7+l+gnHKybVEDmHxnl6z1vuXNPI6OlR35pqfMjpUfw52sXsjLh2u2/8DQpOzSX53sa1j88kTCUcmMG91hSRaBroYLSvIVB0mXUb2zNl+REYSBroFtHCKvrH/LyjaRhyHpzkUi9F9Ga0FdtmqfddydbHp/IENx7hoUJJx01U3PIo6b86KNa3QTYysz9pGQuhO3+0u58BEn41mzJkPto48lWieJ8+qidk6mzLQd8l58e+H/3yII3VQ9HP9C1lTaRgjoC82KU9bDxKPw7Hd5rTHZLNrws8VPlhlmVT+uA==" />
<input type="hidden" name="site_id" value="1" />
<input type="hidden" name="csrf_token" value="0f2e7bde32d33718025586b226dfc3b39b80faba" />
</div>
<input type="search" name="keywords" id="keywords" placeholder="Search">
<input type="submit" value="go">
</form>
</div>I have tried also adding a companion “no_results_page” parameter per another thread, but none of this actually seems to work. Performing a search, as expected, causes no results page to be displayed.
Removing the parameters completely results in the same behavior.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.