There are many reasons for you to set up passwords to protect your content and your website. The primary reason is avoiding security vulnerabilities or simply protecting your special posts from unexpected eyes.

In this article, we will summary some simple solutions so that you can set up your own passwords for whole WordPress site without registration, specific posts and pages or even portions of content.

1. Set up password for a single post or page

WordPress is a powerful semantic platform with tons of meaningful features. Setting up passwords for your specific posts or pages is one of built-in features of this platform. To apply this easy way, after you create a post, it is easy to find a familiar box -Publish box - where you can click the Edit link to Visibility – Public to change post status.

By default, your post is set “Public”. To set its password, it is required to check Password Protected button, then you can enter your own password limited to 20 characters. Do the same way to add password for a specific page.

wordpress password protected

It is simple and straightforward for you to apply this way to protect your posts or pages. WordPress facilitates your job with a browser cookie which your passwords are stored in so that you do not need to re-enter password when visit same page/post several times or multiple posts/pages with same password. After setting protection, your post will look like this:

protected post

However, it will take time for you to set protection in case you want to set up for a lot of pages and posts. One thing is that this method only protects the content of protected page but other pages linked from this page are still unprotected. It is also not effective if you want to have portional protections which allow your visitors to read some parts of your posts and pages.

Smart Passworded Pages is a meaningful plugin for ones who desire to set password for any new child pages of password-protected parent page. Additionally, all related pages will be viewable to user whenever correct password is entered on the parent page or any child pages.

2. Set up a single password without registration

Coming out as an amazing solution for WordPress administrators who are looking for a method to set up protection for whole site with a single password, Password Protected allows you to complete this task and only some users can access your site without registration.

After installing this plugin, you can navigate to your dashboard --> Settings --> Password Protected to configure this plugin.

By this way, whenever someone tries to reach your WordPress site, a password screen will appear like this:

 

password protected

An important question is that how you can protect portions of content. Role management plugins are good solutions for you to set user roles so that different user levels will have different permissions to access your content. Some powerful plugins help you to achieve this goal are Role Scoper or Members plugin. Besides, Content Protector is also an ideal solution that allows you to to select and wrap around content areas you want to protect with Content Protector Shortcode. There is an access form in which users can enter a password; if it’s correct, the protected content will be get displayed.

 

content protector

That’s some useful information to password protect posts and pages in WordPress. Of course, accompanying with these manners, you should apply other solutions to security your site. TZ Guard is a simple plugin which allows you to protect your site with a security code and define a blacklist IP to refuse connection from spam ip and block the BOT system to access your WordPress site.

We hope that this article helped you to find an easy way to keep your content safe. Feel free to share with your friends and comment any suggestions you often apply here. Thanks so much!