Search improvements

buildSearchRedirectURL
showPathAndSearch