Changes the route to search and default