• sfboarders

    (@sfboarders)


    Is there a way I can set up a private blog so only people with a username and password I approve can view the blog? I set up password protect the directory in cPanel but the login prompt comes up all the time in IE which can really mess my computer illiterate family up. In Firefox it works great. I am trying to hide this blog from other family members who are free loaders. LOL. ??

Viewing 13 replies - 1 through 13 (of 13 total)
  • Move it deeper.
    I would set it up like this:

    https://www.example.com
    https://www.example.com/private <———— .htpasswd
    https://www.example.com/private/diary <—————WP

    This keeps the htaccess and htpasswd a directory above your wp install, and if you have no links to it, your family may remain blissfully ignorant of it’s existence ?

    Thread Starter sfboarders

    (@sfboarders)

    It’s set up as a subdomain. https://blog.example.com

    which is the same as https://www.example.com/blog

    Is the .htpasswd same as htaccess? Is this the same thing as me password protecting the directory in cPanel?

    guht

    (@guht)

    How does that work exactly? Is there some step by step instructions on doing something like this somewhere? It seems the above suggestions assume some other general knowledge that is not elaborated on in these posts.

    I would like to do this also, but not sure how/where you would set this up. I noticed that when posting a message you can make the post private, but I dont see where or how you would make those blogs go to a special directory created just for personal files.

    More detailed info would be greatly appreciated!

    Ming

    (@ming)

    .htaccess is a good way to do this. Try a search engine with “.htaccess tutorial” or “.htaccess password protect”. You’ll find lots of information to get you going.

    guht

    (@guht)

    I was refering more to the WP aspect of how to implement this, and how .htaccess relates to users created in WP, and how you get posts marked as private to go to a seperate blog. Would another instance of WP need to be installed point to that directory? Or does WP need to be configured somehow to have private posts be held in a seperate directory?

    Im just not understanding the concept here… Oibiviously its ignorance on my part.

    Kafkaesqui

    (@kafkaesqui)

    The only type of “private” WordPress typically handles is passwords set on a per post basis. Otherwise WP is a tool designed for public access, and anything beyond that would be done outside of WordPress. Hence the suggestions about .htpasswd and managing access to the directory WordPress resides in.

    cpkruell

    (@cpkruell)

    Okay, I think I’ve managed to privatize a blog. So my next question is whether it’s possible to post to this blog via a dummy email account and set up a cron job to post any emails sent to this account. BTW, it works just fine when the blog is not password protected. But no go when I password protect the blog. Any way around this?

    adamrick

    (@adamrick)

    What about moving the index page inside of the administration interface, so that logging in would be required to view it?

    Avenir

    (@avenir)

    There’s also a plugin that easily handles this:
    https://dev.wp-plugins.org/file/registered-only/registered_only.php

    Readers will need to create an account on your blog and login with that account before they are able to read your entries.

    adamrick

    (@adamrick)

    Just what I was looking for, thanks!

    webdawg

    (@webdawg)

    Private Cron –

    Copy from the protected folder the files wp-config.php, wp-mail.php and wp-settings.php and the folder wp-includes to an unprotected folder. Change cron job path to the unprotected folder. Voila!

    Are there data leaks? I suspect not but who knows. No, really, who knows? Perhaps some WP/PHP wiz can quickly determine which wp-inlcudes/files are not needed and which associated requires within wp-settings.php can be deleted, thus, eliminating any possible data leaks.

    cpkruell

    (@cpkruell)

    Perfect, webdawg. Worked like the champ the Mariners will one day be.

    Check this out, it’s the latest version (as of June 2005) of the Registered Only plugin from Carthik (compatible with WP v. 1.5 and 1.51):

    https://blog.carthik.net/vault/2005/05/12/registered-only-plugin-reworked/

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Make a Private Blog’ is closed to new replies.