Support » Themes and Templates » Search form action home_url not using correct template

  • Our homepage points to a “products” template, and the sidebar has a search form that submits to the homepage but when it submits it brings up the index template instead of our products template with s=whatever as the search param. It doesn’t matter if I change the search variable (like to “search=whatever”), it still only brings up the index template.

    Our Settings are:
    – Reading > Front page displays: A static page (the Products page, which is just blank and points to the products.php template).
    – Permalinks > Post name (

    Everything else works hunky-dory.

  • The topic ‘Search form action home_url not using correct template’ is closed to new replies.