• Hai,

    What is the standard procedure for making a blog for private viewing only? I only want myself and one other person to be able to view the content and pages of this blog protected by a simple password.

    I do not require high security here; just basic low level. This is only to give my client confidence that this is not easily viewable and searchable across the internet.

    I checked the setting box to not be searchable already.

Viewing 13 replies - 1 through 13 (of 13 total)
  • You can password protect post from the posting/writing page…

    Thread Starter hari-seldon

    (@hari-seldon)

    That is good to know marmelade. But, I need the password on the root and the login to apply to all posts, pages and categories within. It does not sound to me like something I do through my host dreamhost. It does sound like WP technology. Any thoughts WordPressians?

    There are a couple of plugins that might do the job for you:

    registered users only

    members only

    Thread Starter hari-seldon

    (@hari-seldon)

    members only is the ticket Paul.

    THANKS!

    Thread Starter hari-seldon

    (@hari-seldon)

    – sigh –

    The worst scenario happened. Yep! Now I cannot login…beep…
    How do I…yes a poor n00b…back out of this crap?

    Attempting to login to the blog root or the WP root
    brings this up

    Fatal error: Call to undefined function: add_usermeta() in /home/my-server/my-blogdirectory.com/wp/wp-content/plugins/members-only/members-only.php on line 278

    This may have something to do with it.
    It may be apparent I moved my wordpress files to
    /my-blogdirectory.com/wp
    I have done this successfully several times strictly following the basic directions from the codex:
    https://codex.www.ads-software.com/Giving_WordPress_Its_Own_Directory

    I am sure I can ftp and edit code or delete files.

    Thread Starter hari-seldon

    (@hari-seldon)

    Installed and started up
    members-only
    as per instructions

    Thread Starter hari-seldon

    (@hari-seldon)

    any help would be greatly appreciated

    Check which version of the plugin you have Hari; it looks as though your issue has been fixed very recently, see here:

    https://www.ads-software.com/support/topic/208661?replies=2

    0.6.7 is the one that’s available for download now.

    Thread Starter hari-seldon

    (@hari-seldon)

    Thanks Paul. Blog has been re-animated. All better now.

    Currently, the plugin is redirecting me to my WordPress folder which is a problem. You can see a screenshot of my “members only” settings screen here

    I have my blog homepage at modernia.net/homepage
    and wordpress in modernia.net/homepage/wp.
    The “Redirection Page” section of the “members only” settings displays
    modernia.net/homepage/ followed by a blank text box.
    I am not sure what the explanation below that means

    If the field is left blank, users will be redirected to the login page instead. (Only applies if your redirecting to the specific page)

    and when I go to modernia.net/homepage and login, I am re-directed to
    modernia.net/homepage/wp

    Also, did you update the plugin’s page for members only? Where you originally sent me was let you download Version: 0.6.6. I think the sections of this plugin’s page let you download Version: 0.6.7

    Sorry Hari, I think you’ve misunderstood something. I’m not the plugin author. I was just trying to help out by pointing you in the direction of a couple of plugins that I’d remembered reading about. And my post earlier pointing you to a possible solution was purely as a result of me trying to find an answer by searching for the problem you were experiencing.

    I do apologize if I’ve said anything that led you to believe I was the plugin author.

    Thread Starter hari-seldon

    (@hari-seldon)

    no no no
    You are clear have helped immensely.
    Boards and email are hard for me to be perfectly clear on.

    I understand I am beyond the scope here. I am just trying to get from A to B. I will email this discussion and my question to the author now.

    If anyone else has something on this today, that would be helpful.

    If you’re willing to do double-logins, you can prevent people from getting to the WP directory at all by using .htaccess to password protect the entire directory. You can either log into your hosting control panel and just set a password for the whole thing, or you can do it yourself.

    First you have to create a file called “.htpasswd” (inside it, put in: username:encryptedpassword) and upload it to a directory on your server (preferably outside of public_html). Then create an .htaccess file, and inside it put in:

    AuthUserFile /full/path/to/.htpasswd
    AuthName "Please Log In"
    AuthType Basic
    
    require user dave

    that “full path” is the *server* path – not the http path.

    “Dave” can be any user name you choose to set. But that’s the login name you must use to log into he directory. The htpasswd “username” would be “dave” (or whatever you replaced it with” and the “encryptedpassword” would be the password.

    nce you’ve done all that, upload the .htaccess file to the /wordpress folder. Now anytime anyone tries to access it, they’ll be prompted for the username and password. if they don’t provide one (or provide the wrong one) they’ll get a forbidden message. If they provide the correct one, you’ll be taken to whatever URL you were trying to get to within the directory. You *will* have to log into WordPress though – if you try to get into the admin area. That won’t log you in automatically – it’s a totally different thing.

    Regis

    (@regiswordpress)

    Thanks @paul for the links to registered users only and members only. I tried both and both worked for me. I was inclined at first to use “Registered Users” because it is more recent, but it blocked access to XML-RPC which prevented me from updating my blog from the WP iPhone app. “Members Only” has a smart option to allow XML-RPC one time access from your current DNS. That was enough to make it work for me!

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘password protect blog for private viewing’ is closed to new replies.