Encode search URL.