How To Protect A Post In WordPress Using The Password?

wordpress password protected post

When you run a blog on the WordPress platform then the security of your website matters a lot. Though WordPress is one of the most secure platforms. But still, people take some extra steps to make in more secure. Have you ever thought about protecting your WordPress blog post?

Do you have any WordPress password protected post on your blog? Well, with the use of an inbuilt feature of the WordPress CMS, you can protect your blog post with a password. In this post, I am going to guide you through the process.

Set Password For Blog Post From WordPress Editor.

Are you thinking about protecting one of your special blog posts which should be visible to the people who have the password of the blog post? Sometimes, bloggers protect their blog post with the password so that they can only share that particular information with the people they want.

The post won’t be visible to the public until someone has the password to open that post. If you’re thinking about the same thing then follow the steps. There isn’t much to do. You can set a¬†password for blog post within few seconds.

Step 1:- Login to your WordPress admin panel and open the blog post for which you want to set the password. Whether you are going to write a new post or any older post. The choice is yours.

Step 2:- When you reach to the WordPress editor you may have seen many times that above the “publish” button there is an option to set the visibility of the blog post. By default, it is set to the “public” because all the blog posts get published for your readers.

how to protect a post in wordpress

But if you want to set the password then you have to click on the “edit” option in front of “visibility”. You would see three radio buttons. To show to the public, password protected, and private.

Step 3:- Click on the “password protected” radio button and a field would appear under it to fill the password. To set the password, just fill it and click on the “OK” button.

set password for blog post

You have successfully set the password for your blog post. You can do that with any post you want. It is always recommended that you don’t need to do such things to save any important data. What would you do if your WordPress website gets hacked?

So try to keep your important data somewhere safe. But still, this feature of the WordPress has been revealed to you and you can use it.

Now you have a WordPress password protected post on your website. It can be opened by the people who have the right password. And I am sure, you would provide it to a few people.

Have You Ever Thought To Set Password For Blog Post?

You know that people fret a lot when their website gets hacked. They try to take every possible precaution to improve the security. But here, we are talking about protecting the data of a blog post. Such type of action is taken when something confidential is there in the blog post.

Are you one of them who protect their blog post with the password? I mean it is rare to see someone who protects the blog post with a password. But still, you should know this inbuilt feature of the WordPress platform. There are many features of the WordPress which are yet to explore by many bloggers.

The password protected feature is like saving your precious data in the WordPress. You can access the data just by going to the blog post. No one would see it on your website until the password is known.

If you liked the tutorial, connect with us on Twitter, LinkedIn, and Facebook.

by Ravi Chahar

A WordPress Professional and the LinkedIn Influencer. A coder by passion and a blogger by choice. WordPress theme development is his forte. He is your WordPress guy who will teach you how to solve WordPress errors, WordPress security issues, design issues and what not.

Get Free Updates Into Your Inbox

Learn Everything Just Like I Did



    1. Hey Umesh,

      There are many little things which are hidden in the WordPress. We don’t think more than writing the blog posts and handling the comments. In the WordPress platform, you would find many hidden secrets.
      Thanks for being here.
      Enjoy the day.

  1. I used to publish a newsletter on my website for subscribers. I used a plugin to make the page hidden so that there weren’t any obvious paths to the page from the rest of the website. Then I would email the link to my subscribers so that, ideally, only they could see it. I had no idea that there was the ability to put a password on a post.

    I’m curious about how the password-protected post appears on the website. Is the URL visible so that people can navigate to it they are presented with a password field? If so, it would be cool to be able to override the password dialog to include an opt-in form as well to gather new subscribers.

    1. Hey Ben,

      WordPress protects the blog post with a password. To hide the post, you have to add a PHP code which would hide your post from the website and would be visible to the people with the password.

      You could provide the URL and your users would be able to access the content. Publishing a newsletter on the website a great idea. You should add a newsletter box on the website permanently so that your users can subscribe anytime they want and choose any email sending service.

      Thanks for stopping by.
      Enjoy the day.

  2. Thanks for the nice tip. I tried private posts in WordPress but they are not visible unless you are logged in. Password protecting them is best idea if you want to share them with specific people.


    1. Hey Gary,

      It’s a kind of storage where you can embed the post which isn’t meant to show anyone else. WordPress has the power to save your data until you disclose the password of that post.
      Thanks for being me.
      Have a great day.

Leave a Reply

Your email address will not be published. Required fields are marked *