Forums

How to make my blog private - on my own hosting (4 posts)

  1. Anonymous
    Unregistered
    Posted 3 years ago #

    Hi Guys,

    I tried to find answer to my question but most of it does not address the issue I have in hand, thus I'm trying my luck here hoping to get it over soon.

    I'm setting up a few blog and they are yet to be launch and I'd like to keep it private while I work on the content. Obviously I had them in my own hosting and have installed wordpress. So my question is, if you''re hosting your blog with WordPress, says - yourblogname.wordpress.com, there is an options under Settings > Privacy, which allows you to set your blog to only Users you chose. However, this options does not exists if you installed the WordPress in your own hosting. That's the issue I have now.

    I tried to hack the code - \\myblogfolder\wp-admin\options-privacy.php and added the following blog:


    <p><input id="blog-private" type="radio" name="blog_public" value="-1" <?php checked('-1', get_option('blog_public')); ?> />
    <label for="blog-private"><?php _e('I would like my blog to be visible only to users I choose'); ?></label></p>

    It doesn't work either. The hack does appear in my Settings > Privacy page, but choosing that option does not deny user access to my blog.

    Anyone care to point me to the right direction to work around this?

    Appreciate your replies.

  2. mojorob
    Member
    Posted 3 years ago #

    Have you considered having a username/password access using .htaccess & .htpasswd until it's ready to be viewed?

  3. Anonymous
    Unregistered
    Posted 3 years ago #

    Hi mojorob,

    I actually prefer to have it the way it is as per blog hosted on WordPress. Reason for this is because I'm only setting up the site, and the Administrator (reads non-tech savvy Administrator) who will decides when the site to be open. Thus, I'd like to have it on the Settings > Privacy page.

    I haven't try the .htaccess and .htpasswd method, but I'm sure that will works as it is server site, instead of application controlled restrictions.

    Anyone else can help me out?

    Thanks.

  4. gladman
    Member
    Posted 3 years ago #

    I have the same question...is there an answer yet?

Topic Closed

This topic has been closed to new replies.

About this Topic