Redirect url workaround