Support » Plugin: Force Login » Allow all pages and block a few.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Kevin Vess


    It sounds like you want the opposite of what Force Login does. I suggest you use another method to make only a few pages private instead of using this plugin which makes everything private.

    1. You could use the built in WordPress functionality to mark those few pages or posts you want to require login as “private:”
    2. Or, add a custom script to your functions.php that checks if the user is not logged-in and visiting the specified page(s) to redirect them to login.
    Thread Starter Manny (emanweb)


    Hi Kevin,
    Yes, that is what I want. I thought it could have a capability to allow all and block everything else inside URL folder like /dashboard/ or /my-account/
    Thanks for the information.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Allow all pages and block a few.’ is closed to new replies.