cre8d design - clean, clear, creative websites
  • Latest
  • Highlights
  • Discussions
  • Blogging
  • Design
  • Ebooks / Books
  • Social Media
  • Personal
  • About
  • Portfolio
  • Services
  • Blog
  • Contact
  • Twitter
  • Facebook
  • RSS

Password-protecting your WordPress blog

August 10, 2006

Before leaving on holiday, I asked what tutorials or things I could write about to help bloggers. One commented:

New to WordPress… Wish I knew how to password protect my entire blog. Would love for people I only know to read my blog. Don’t know how to do this.

In this post I’ll explain five ways of password-protecting your WordPress blog. None of them are foolproof (is anything?) and if you’re wanting some heavy-duty protection, you should look at putting your site on a secure connection (https).

  1. Password-protecting everything using an .htaccess file. If you’re not familiar with editing .htaccess files yourself, try checking with your site host’s control panel for password protection, e.g. CPanel, Plesk. You may need to regenerate your permalinks afterwards in WordPress by going to Options > Permalinks > Update Permalink Structure.
  2. Password-protecting all posts/pages/feeds but not your images or stylesheet by installing the Registered only plugin: read the install instructions then download the plugin.
  3. Password-protecting by user-level. Install the Post Levels plugin: right-click and save this plugin and then follow the standard plugin installation instructions. This enables only members with a particular user level (or higher) to view the post.
  4. Password-protecting each post individually (1) – you can still see the design but not the content of an individual post unless you have a special password. Type into the “Password-Protect box” on the right hand sidebar when writing or editing a post in WordPress. Give out this password to the people you want to view it.
  5. Password-protecting each post individually (2) – you can still see the design but not the content of an individual post unless you the post’s author. Change the Post Status to “Private”. When you re-save the post, be careful not to press the “Publish” button or it won’t be private anymore! Just press “Save” or “Save and Continue Editing”.
Tag, you’re not it
Upcoming screencast
  • http://www.donnavitan.com Donna

    Ahhh Rachel,

    I do enjoy reading up on your blog because you’ve got some great tips. Your helpful posts on how to get things done or how to do things are extremely useful especially to someone like me who is just making my first attempt at personalizing my WordPress.

    Thanks for this and I look forward to when you finally make a write-up on the break-down/steps of actually redsigning the default WordPress.

    Cheers,

  • http://www.montclairconcierges.com Serge Lescouarnec

    Rachel

    My question concerns ‘WordPress’ blog templates.

    Many of them are available but could there be a simpler way to upload them than going through the FTP and the rest process which might be too technical for many Blog Writers.

    Thank you

    Serge
    Biz:
    http://www.njconcierges.com
    Blog:
    http://www.sergetheconcierge.com

  • Pingback: How to Password Protect Your Wordpress Site : Small Business Blog Design and Consulting

  • http://www.nyominx.com Nyomi

    Wow, I was just trying to figure this out myself. Re method #5, I was under the impression that when a post is designated as Private only the post author, and not other members, will be able to see it when logged in?

  • http://www.cre8d-design.com/blog/ Rachel

    Oops Nyomi – my mistake in explaining it – a private post is only viewable to the post’s author.

  • http://pfdebate.com Bob Jordan

    I haven’t had trouble password protecting pages in WordPress, but I have found the post-level password protection to be buggy. I can password protects posts, but often they cannot be viewed after typing the password

  • Pingback: [white + (black)board.] » Blog Archive »

  • http://www.spiders-design.co.uk Daniel Chatfield

    I have developed a wordpress plugin that does this better:
    http://www.spiders-design.co.uk/wordpress-stuff/password-protect-wordpress-blog/

  • http://www.collegein.net College Board

    I don’t know more about the wordpress password protection method , any way I think that it is a good and secure way to protect our account too…..

  • http://www.durst-bureobedarf.de/blog Marissa

    Thanks for your information on protecting a wordpress blog. Does anyone have any infomation on how safe these protecton methods are?

  • http://LibidaBlog.com Libida Morgasm

    Thanks for this, Rachel! Inspired by your plugin, I did a bit of research and installed the Members Only plugin to protect a site I have under construction.

    Members Only gives you the option to redirect users either to the WP login screen, or to another page you designate. I chose the second option.

    Members Only does only allows visitors who are not logged in to access the designated page. If you use the tag to create multiple pages, visitors can only see the first. So put your contact form on your redirect page if you want people to be able to contact you.

    The excellent WordPress Weaver theme (http://wpweaver.info/) let me turn off the menu, sidebars, and footers on my redirect page only. Visitors see a clean page, and I get to edit the full version of my site behind the scenes. Great stuff!

Hi, I'm Rachel Cunliffe!

Looking for a blog designer, Wordpress expert, website designer, or want to find out how I can help you? I'd love to hear from you.

Email:
rachel@cre8d-design.com
Phone:
(US) 646 233 3046
(NZ) 027 3833 746
Skype:
rachelcunliffe

Keep updated

Get blog posts via email

Follow @cre8d