WordPress - Lock the visibility of a post with a password


You have published an article on your WordPress blog and wish to restrict its access with a password.

  • Open the WordPress dashboard.
  • In the left pane, go to Posts > All Posts.
  • Select the acticle of your choice and click on "Edit"

  • The post will be opened in the publishing interface of WordPress.
  • Go to the Publish section.
  • Click on the "Edit" link located next to "Visibility".
  • Select the "Password Protected" option and enter a password.

  • Click on Ok and then on Update.
  • As result each time a user tries to view this particular post, the following is displayed:

Ask a question
CCM is a leading international tech website. Our content is written in collaboration with IT experts, under the direction of Jean-François Pillou, founder of CCM.net. CCM reaches more than 50 million unique visitors per month and is available in 11 languages.
This document, titled « WordPress - Lock the visibility of a post with a password », is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (ccm.net).