• neb_orbit_greely

    (@neb_orbit_greely)


    I’d like to operate a private blog — between four or five people. I will register everyone, and you can only post if you’re logged in. The blog is meant as a working space for a non-profit.
    So far this has worked fine and I haven’t bothered to password-protect the site or anything like that. However recently someone posted a link, people followed it, someone found it in their stats and then ended up back at our private blog.
    How would I go about disabling anyone from viewing the blog if they are not logged in?
    I kept looking for a setting in the Base Settings (next to: new_users_can_blog) :
    new_users_can_VIEW_blog [false]
    Is there an easy way to do this, or have I overlooked a hack or setting?
    Thanks in advance,
    Ben

Viewing 5 replies - 1 through 5 (of 5 total)
  • Password protect the whole thing.
    I have private pages too. They are not linked from *anywhere* so the search spiders don’t get in – they will take content (even http://www.experts-exchange.com has snippets of answers whch only subscribers should see displayed on Google), and they are fully password protected.
    If you do that, you will also need to include a ‘robots.txt’ in the main directory to help keep any bots out should the page be linked and just in case.
    If what you (or anyone) is concerned about privacy issues and need to use a weblog, then yes, casual visitors are a risk, but the web search engines are also a problem – they never stop looking.

    Thread Starter neb_orbit_greely

    (@neb_orbit_greely)

    Yes, I can see your point, however I’d prefer it if users didn’t have to login twice.
    I could use http authentication to block out everyone except those who knew the password, but then they’d still have to log in to post.
    The robots.txt is a good idea, I’ll add that.

    arpecop

    (@arpecop)

    Podz …. how did you do expanding categories with this (+) infront them …. btw you have great site … I have never seen so informative private site long time ago
    sorry for bad english

    mailcubo

    (@mailcubo)

    Here is what I did:
    Added these two lines to my index.php file (or whatever you may call it):
    require_once(‘wp-config.php’);
    require_once(ABSPATH.’wp-admin/auth.php’);
    at the top, just before the line:
    require(‘wp-blog-header.php’);
    Then in my auth.php file (in the admin folder) I changed the line which points to the config file to the following:
    require_once($_SERVER[‘DOCUMENT_ROOT’].’/your-path-to-the-weblog-goes-here/wp-config.php’);
    Seems to work with version 1.02 🙂
    But maybe I have overlooked something?

    @arpecop – if you mean the experts-exchange site … it’s got nothing to do with me at all ! Really 🙂
    I only used that as an example of how a search spider can make content that should be hidden visible to others.
    I really have no clue when it comes to php / javascript or anything similar. Sorry !

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘possible to make it so: Users can only read posts’ is closed to new replies.