Support » Fixing WordPress » Password protect blogs

  • Is it possible to have 10 users writing in the same blog, but their respective posts should only be readable/editable by themselves and the admin? Or do I have to set up 10 wp’ s? And if I have to set 10 wp’ s, how do I accomplish the above (only readable/editable by themselves and the admin)?

Viewing 5 replies - 1 through 5 (of 5 total)
  • With regular wordpress? No. Security in WordPress is based on the user’s level. Image you have 4 users + the admin.
    “Bob” is level 3. He post to your journal.
    “Sue” is level 5. She can post to your journal; as well as edit both Bob & Joe’s posts.
    “Joe” is level 5. He can post to your journal; as well as edit both Bob & Sue’s posts.
    “Betty” is level 9. She can post to your journal; as well as edit both Bob, Sue & Joe’s posts.
    The admin is level 10 and can do anything he wants.

    With WordPress Mu? Possibly, but that’s currently just a developer preview and I was never able to get it up & running. So I can’t say for sure.

    Thought so.
    Also tried Mu with no luck. Was hoping someone knew of a plugin/hack or something.

    I’m no programmer and haven’t got the slightest idea about php but, I’m thinkin, login protects almost every page except index.php. Could it be that hard to make index.php included in the login-session?

    Well, I went for it myself and copied a row from admin-header.php to wp-blog-header-php (below). As far as I can see, this password protects the whole blog. As a non coder I ask you all; is this solution ok, or am I missing something vital?


    if (!file_exists(dirname(__FILE__).’/’ . ‘wp-config.php’))
    die(“There doesn’t seem to be a wp-config.php file. I need this before we can get started. Need more help? We got it. You can create a wp-config.php file through a web interface, but this doesn’t work for all server setups. The safest way is to manually create the file.”);

    require_once(dirname(__FILE__).’/’ . ‘/wp-config.php’);

    require_once(dirname(__FILE__).’/’ . ‘wp-includes/wp-l10n.php’);

    //added this row

    Roy Tanck


    Anyone evaluated this solution yet? It sounds easy enough, but lik e Stig I’m no PHP coder…

    If it’s this easy, a “blog visible to logged in users only” checkbox in the options section would be much appreciated… 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Password protect blogs’ is closed to new replies.