Fix default redirect to use get_script_prefix