• I would like to be able to support an unauthenticated healthcheck page.

    I’ve hacked something together that works as follows:

    function rl_redirect() {
    if (!(is_user_logged_in() || ($_SERVER[‘REQUEST_URI’] === ‘/healthcheck/’))) {
    auth_redirect();
    }
    }

    Would you be interested in incorporating something like that in the plugin source?

    https://wordpress.org/plugins/wp-require-login/

  • The topic ‘Add exception for healthcheck page’ is closed to new replies.