Search yields a 404

Hey all, I've been reading through the docs trying to implement search. I have the code from the docs all plugged in:

I have already done php please search:update.


<form action="/search-results" method="GET">
  <input type="text" name="q" />

search-results.html, which is a template:

{{ search:results }}

  {{ if no_results }}
    <h2>No results.</h2>
  {{ else }}

    <a href="{{ url }}" class="result">
      <h2>{{ title }}</h2>
      <p>{{ content strip_tags="img|a|p" safe_truncate="180|..." }}</p>

  {{ /if }}

{{ /search:results }}

But when I search, I wind up getting a 404. In the docs, there isn't a line telling me to explicitly create a page or route to /search-results, I assumed that the search function would have that already, but how do I link my template to that url? Thanks.

Answered by Jason Varga!
>>>>>>> Answered <<<<<<<
1 Reply