WordPress.org

Ready to get started?Download WordPress

Forums

How to password protect blog (6 posts)

  1. jeremyduffy
    Member
    Posted 5 years ago #

    I found information about blocking access to only logged in users, but I want to set up the blog to be generically blocked under only a password so I don't have to give everyone a username.

    I suppose a cheap fix would be to have only one username that's filled in automatically, but I want to know if there's a cleaner method.

  2. Brian
    Member
    Posted 5 years ago #

    use could use .htaccess to password protect the folder, or if you want just the content blocked, you could password protect each post with the same password. Once a user enters the password, it won't ask them again for the other posts (as long as they are all the exact same)

  3. jeremyduffy
    Member
    Posted 5 years ago #

    The post idea would be difficult if I had to change the password later. Does .htaccess ask for a password before allowing access to the site? If so, perhaps that would be simplest.

  4. jeremyduffy
    Member
    Posted 5 years ago #

    I tried tinkering with .htaccess using an online generator, but it didn't work :(

  5. Samuel B
    moderator
    Posted 5 years ago #

    just set it up in your cpanel or whatever your host uses.
    set password protect on wordpress directory

  6. jeremyduffy
    Member
    Posted 5 years ago #

    I used .htaccess and it worked fine. I just ended up uploading it to the wrong folder so I didn't notice.

Topic Closed

This topic has been closed to new replies.

About this Topic