Password Protecting Your WordPress Website or Blog

If you ever need to password-protect your whole WordPress powered website or blog, there are a few plugins you can use to achieve this very quickly. You might ask why would anyone want to do this? Well, you might want to use your WordPress site as a simple intranet and would therefore like to bar normal visitors from this part of your server.

WP-Password

While WP-Password protects your whole site, there are other plugins that allow you to protect specific areas of your site. WordPress also comes with the default ability to password protect individual pages, through the Visibility option found in the ‘Publish’ box on your pages.

Protection based on Users

Registered Users Only

Have a private blog that you only want your friends or family to read? Then this plugin may be for you. It will redirect all users who aren’t logged in to the login form where they are shown a user-friendly message.

This plugin also features a configuration page where you can easilly toggle allowing guests to access your feeds.

Also, unlike some other registered users only scripts, you can’t get around this one by just visiting index.php?blah=wp-login.php nor does it break wp-cron.php or anything else.

If you need a more advanced plugin, one that redirects to somewhere other than the login form or allows access to your feeds via a unique key (rather than cookies), I suggest Members Only. If you just need simple guest blocking though, Registered Users Only will work perfectly.

Members Only is a WordPress plugin that allows you to make your blog only viewable to visitors that are logged in. If a visitor is not logged in, they will be redirected either to the WordPress login page or a page of your choice. Once logged in they can be redirected back to the page that they originally requested. You can also protect your feeds whilst allowing registered user access to them by using Feed Keys.

Page and Subpage Protection

Page Protection

This plugin adds optional per-page user name and password protection, implemented using standard HTTP protocol authorization headers, thus triggering the standard user/password dialog of the browser, and making it possible to make the browser store the credentials.

Subpages of a protected page are protected with the same user name and password as their parent.

Protected pages and their subpages do not show up in menus, search results and page lists.

Password Protect Children Pages

This plugin does one thing. If a page that is password protected has children pages, all children pages will be protected with the same password. If the correct password is entered on the parent page or any of its children pages, all related pages will be viewable to the user.

If using this plugin you can also extend it to cover more than one level of child pages, see this forum post.

Protect part of a Post or Page

http://www.robcooper.com/wordpress/how-to-password-protect-post-page.html

Other Plugins that you might find useful

Private Only

Private Files

Private WP

Private WordPress

Private WP 2

Private Suite

Wp Private Access

Private WP suite

Hetjens Registered Only

Related posts:

  1. How to Password Protect an Entire WordPress Site or Blog
  2. PHP HTTP Autentication
  3. How to Set a Home Page and Blog Page on WordPress
  4. Duplicating Pages/Posts Quickly in WordPress
  5. First and Last Class in WordPress Menus

2 Comments

Got something to say? Feel free, I want to hear from you! Leave a Comment

  1. mariano says:

    Nice one… did not know that….anyone has link to other similiar stuff ? thx Mariano

  2. Trudi Poplar says:

    @admin: I just have to say your site is the first I’ve come across today that doesn’t have typos every other sentence. Thanks for taking the time to construct something that doesn’t look like a 5th grader put together. Sorry, just had to vent.

Leave a Comment

Let us know your thoughts on this post but remember to place nicely folks!