0) { $q = urlencode(str_replace("/", " ", $q)); header('Location: /q/' . $q); } else { header('Location: /search.vx'); } ?>