url, "/"); $q = urlencode($query); return redirect($url . "#search=" . $q); } }