I have a search.php file in my theme that displays search results.
Search queries directed to
https://example.com/search/query/ display the search results correctly. WordPress natively supports this URL structure.
I would like to be able to browse directly to
https://example.com/search/ without adding a search query, and have it display my search.php file, but it returns a 404 error.
How can I make this page work?