{"id":1155,"date":"2021-04-07T14:04:46","date_gmt":"2021-04-07T11:04:46","guid":{"rendered":"https:\/\/www.scalahosting.com\/kb\/?p=1155"},"modified":"2022-02-04T16:56:21","modified_gmt":"2022-02-04T14:56:21","slug":"how-to-password-protect-wordpress-pages","status":"publish","type":"post","link":"https:\/\/www.scalahosting.com\/kb\/how-to-password-protect-wordpress-pages\/","title":{"rendered":"How to Password-protect WordPress Pages"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">Did you know that you can password protect single pages on your WordPress site as well as the entire WordPress site? <\/span><b>Password-protecting a WordPress page, post, or site prevents public <\/b><span style=\"font-weight: 400;\">users from finding or viewing the content unless they have a password.<\/span><\/p>\n<p><b>There are two major ways to do this.<\/b><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Using the Default WordPress password protection feature<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Plugins for extra password protection<\/span><\/li>\n<\/ul>\n<h2><b>Why Password Protect WordPress Pages?<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">Once you publish a post or page, it becomes visible by default to the public, but you can edit the visibility settings as you deem fit. Only the author of a post or<\/span><b> an Administrator can change the visibility settings of a page on WordPress.<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Plus, most people password-protect their pages and site against unwarranted editing and public access.<\/span><\/p>\n<h2><b>Benefits of Password Protection<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">Password-protection is a major form of <\/span><b>digital security<\/b><span style=\"font-weight: 400;\"> that enables only users with the password to access multiple platforms. Despite its bad reputation, passwords are very beneficial, especially to WordPress authors and site owners. Highlighted below are some of <\/span><b>the pros of password protecting your WordPress page or post.<\/b><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">It prevents the general public from viewing your WordPress page.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">It enables you to have subscription-only pages and target specific audiences.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">It allows you to give certain people access to view your post or page.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">It prevents unauthorized users from editing or deleting content.<\/span><\/li>\n<\/ul>\n<h2><b>How to Password Protect a WordPress Page Using the Default Editor<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">You can easily password-protect <\/span><b>a single post or page using the in-built WordPress visibility feature.<\/b><span style=\"font-weight: 400;\"> Still, this method does not prevent the content from being visible to search engines. Follow these highlighted steps to password-protect your WordPress page.<\/span><\/p>\n<p><b>Step #1: Log in to WordPress as an administrator<\/b><\/p>\n<p><span style=\"font-weight: 400;\">Only an administrator, post author, or editor can change the visibility setting or password of a post or page.<\/span><\/p>\n<p><b>Step #2: Navigate to the Dashboard<\/b><\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-1160 aligncenter\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/04\/image4-1.png\" alt=\"How to Password-protect WordPress Pages, How to Password Protect a WordPress Page Using the Default Editor\" width=\"1024\" height=\"480\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/04\/image4-1.png 1024w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/04\/image4-1-300x141.png 300w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/04\/image4-1-768x360.png 768w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">From your dashboard, click on &#8220;Pages,&#8221; and then head to &#8220;All pages&#8221; to click the page you want<\/span><\/p>\n<p><b>Step #3: Click &#8220;Edit&#8221; on the page you want to password-protect<\/b><\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-1159 aligncenter\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/04\/image3-1.png\" alt=\"How to Password-protect WordPress Pages, How to Password Protect a WordPress Page Using the Default Editor 2\" width=\"1024\" height=\"356\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/04\/image3-1.png 1024w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/04\/image3-1-300x104.png 300w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/04\/image3-1-768x267.png 768w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">You can only implement password protection per page, so you need to select the pages individually.<\/span><\/p>\n<p><b>Step #4: Change the visibility settings under the Publish menu<\/b><\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-1158 aligncenter\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/04\/image2-1.png\" alt=\"How to Password-protect WordPress Pages, How to Password Protect a WordPress Page Using the Default Editor 3\" width=\"1024\" height=\"361\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/04\/image2-1.png 1024w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/04\/image2-1-300x106.png 300w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/04\/image2-1-768x271.png 768w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">Change the visibility from Public to Password Protected to enable only Admins, Editors, and users with the password to access the page.<\/span><\/p>\n<p><b>Step #5: Enter your password<\/b><\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-1156 aligncenter\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/04\/image5-1.png\" alt=\"How to Password-protect WordPress Pages, How to Password Protect a WordPress Page Using the Default Editor 4\" width=\"428\" height=\"497\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/04\/image5-1.png 428w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/04\/image5-1-258x300.png 258w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">The maximum length of a password on the WordPress site is 20 characters.<\/span><\/p>\n<p><b>Step #6: Publish Your password-protected page<\/b><\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-1157 aligncenter\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/04\/image1-1.png\" alt=\"How to Password-protect WordPress Pages, How to Password Protect a WordPress Page Using the Default Editor 5\" width=\"1024\" height=\"74\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/04\/image1-1.png 1024w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/04\/image1-1-300x22.png 300w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/04\/image1-1-768x56.png 768w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/p>\n<p><b>Click on the &#8220;Publish&#8221; or &#8220;Update&#8221; option <\/b><span style=\"font-weight: 400;\">after apply all your changes.<\/span><\/p>\n<h2><b>Advanced page Protection using the Password Protect WordPress (PPWP) plugin<\/b><\/h2>\n<p><span style=\"font-weight: 400;\">The PPWP plugin enables you to use passwords to secure your post,<\/span><a href=\"https:\/\/www.scalahosting.com\/blog\/how-to-install-woocommerce\/\"> <b>WooCommerce <\/b><\/a><b>product, or <\/b><a href=\"https:\/\/www.scalahosting.com\/kb\/how-to-create-a-wordpress-website-for-beginners\/\"><b>WordPress site<\/b><\/a><b>.<\/b><span style=\"font-weight: 400;\"> However, this plugin does not protect uploaded files or images, so anyone with a link can access them.<\/span><\/p>\n<p><b>You can set up multiple passwords per post and page<\/b><span style=\"font-weight: 400;\">, as this plugin extends the WordPress password protection feature. <\/span><b>The PPWP plugin<\/b><span style=\"font-weight: 400;\"> enables site owners to password-protected using user roles \u2014 enabling different users to access the pages. Plus, you can use this<\/span><b> plugin to protect WordPress categories and partial content<\/b><span style=\"font-weight: 400;\">, and it can integrate with varying page builders seamlessly.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Your password-protected content will still show up on different pages of your site by default. Still, this plugin enables you to control the visibility of your protected content in multiple views. It allows you to hide your posts from<\/span><b> recent past widgets, search results, RSS, archive pages<\/b><span style=\"font-weight: 400;\">, and many others.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Did you know that you can password protect single pages on your WordPress site as well as the entire WordPress site? Password-protecting a WordPress page, post, or site prevents public users from finding or viewing the content unless they have a password. There are two major ways to do this. Using the Default WordPress password [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_seopress_robots_primary_cat":"","_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","footnotes":""},"categories":[34],"tags":[],"class_list":["post-1155","post","type-post","status-publish","format-standard","hentry","category-web-hosting"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts\/1155","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/comments?post=1155"}],"version-history":[{"count":4,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts\/1155\/revisions"}],"predecessor-version":[{"id":3159,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts\/1155\/revisions\/3159"}],"wp:attachment":[{"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/media?parent=1155"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/categories?post=1155"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/tags?post=1155"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}