To use EE search, do I have to use a dedicated group/template to display search results (in the pattern of the default, ‘search/results’ ...)?
Every other page on the site I’m building utilizes the same main index.php template (the content varies by means of conditionals and embeds). But I have not been able to get SEARCH results to display that way. When I try to embed results in my main template group, I get “no results” errors (for searches that do have results if I use the dedicated search/results pages).
I don’t mind too much creating such a dedicated page for search results if that’s required (it’s just a matter of re-embedding header, side-bars, footer, etc.). I just thought there had to be a way to allow my main index.php to parse the url and when segment_2==“search” and segment_3==“results” display those display results!
I know I am missing something. What is it?