redirect `/search` to home page unless query.q