Disable the requirement for RedirectURL when Redirect is disabled.

If you disable redirection, redirect URL is still required.