Fixed maybe_redirect to use $here_url ($here is the parsed array)