Search form generates blank page I am trying to set up a search form in my website. Followed this tutorial on builtwithcraft documentation website.

So in my top navigation bar I include this code

&lt;form class="navbar-form navbar-right" role="search" action="{{ url('/oeuvres/_results') }}"&gt;
    &lt;div class="input-group"&gt;
        &lt;input type="search" class="form-control" name="q" placeholder="Recherche"&gt;
        &lt;span class="input-group-btn"&gt;
            &lt;button type="button" class="btn btn-default" value="Go"&gt;&lt;span class="glyphicon glyphicon-search"&gt; &lt;/span&gt;&lt;/button&gt;
        &lt;/span&gt;
    &lt;/div&gt;
&lt;/form&gt;


And then the result page:

{% extends "_layout" %}

{% block main %}
    {% include "includes/_topNav" %}

    &lt;div class="container"&gt;
        &lt;div class="row"&gt;
            &lt;div class="col-md-12"&gt;
                &lt;h1&gt;Résultats&lt;/h1&gt;

                {% set query = craft.request.getParam('q') %}
                {% set entries = craft.entries.search(query).section('oeuvres') %}

                {% if entries|length %}
                    &lt;p&gt;{{ entries|length }} Votre recherche:&lt;/p&gt;
                    &lt;ul&gt;
                        {% for entry in entries %}
                            &lt;li&gt;&lt;a href="{{ entry.url }}"&gt;{{ entry.title }}&lt;/a&gt;&lt;/li&gt;
                        {% endfor %}
                    &lt;/ul&gt;
                {% else %}
                    &lt;p&gt;Votre recherche “{{ query }}” n'a donné aucun résultat.&lt;/p&gt;
                {% endif %}
            &lt;/div&gt;
        &lt;/div&gt;
    &lt;/div&gt;

    {% include "includes/_javaScript" %}
{% endblock %}


I have no idea what is wrong, it seems that the "q" param is passing through the result page (the address line is for example: http://www.example.com/oeuvres/_results?q=routes
But the page is totally blank. Meaning nothing gets generated between the body tags. (not even the template tags...

I can't find what I am missing here.
Templates starting with an underscore character is by default denied direct access in Craft (resulting in a 404 not found error). I guess that renaming your template to "results" should fix it.