Viewing 6 replies - 1 through 6 (of 6 total)
  • same here

    Thread Starter jwolske

    (@jwolske)

    Hi. Anybody else experiencing this issue besides jpaliotto and I?

    Hey jwolske,

    I guess it’s just us. I’ve ended up switching plugins. Now I”m using “Password Protected” by Ben Huson and “Login Logo” by Mark Jaquith. So far so good!

    Thread Starter jwolske

    (@jwolske)

    Word. Thanks man. I just did the same. Working now.

    same here, doesn’t work

    I think I have found a more reliable and straightforward approach. Copy and paste this code inside your theme functions.php:

    function walled_garden() {
    if( ! is_user_logged_in() )
    wp_redirect( '/wp-login.php' );
    }
    add_action( 'get_header', 'walled_garden' );

    I Got it from : https://davidwalsh.name/wordpress-force-login (see the comments).
    I think its far better to have a User Login approach to handle this, and avoid plugins that might, as it did happen to me, allow hack and malware contamination when it’s buggy.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: Password Protect WordPress] Not working’ is closed to new replies.