I built a custom theme, and in it, there is a 404.php page and a search.php page.
Elsewhere in the template, I wanted to link to the search page directly. So, I used the get_search_template() function to get the search page link, which results in a link like this: http://example.org/search
When I click the link, I get sent to the 404 page template.
Why is it going to the 404 page template instead of the search page template?