Support » Fixing WordPress » How to password protect blog

  • 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.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Brian


    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)

    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.

    I tried tinkering with .htaccess using an online generator, but it didn’t work 🙁

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

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to password protect blog’ is closed to new replies.