Make sure a search page exists before displaying the search form.