WordPress.org

Ready to get started?Download WordPress

Forums

Password Protected Blogs (3 posts)

  1. TonyWright
    Member
    Posted 6 years ago #

    Hi everyone,

    I would like to make my blog only accessible to those with user accounts.

    I want them to have to log in before they can view any of the blog's content.

    Is there a simple way to do this?

    Kind regards,

    Tony.

  2. Sridhar Katakam
    Member
    Posted 6 years ago #

  3. AskApache
    Member
    Posted 6 years ago #

    Depending on how many user accounts you have .htaccess would be an ideal solution because it runs on the server and is supported by all clients, even mobiles.

    This
    htpasswd plugin
    is still beta but it will be able to use wordpress login information automatically.

    But I do believe you can use .htaccess to accomplish that today if you want. I would recommend this.

    1. deny access to all files except the login page
    2. redirect all 403 denied to login page
    3. then allow access from all users that successfully log in by checking for the present of a cookie using mod_rewrite

    Hey wait thats a good idea!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.