By default, the title of your password protected content will still show up on various pages such as home page or search result. In some cases, you even want to hide these titles. So no one is aware of their existence except the people who know the direct URLs.
Password Protect WordPress (PPWP) plugin gives you the ability to control your protected content’s visibility. You can not only password protect your private content but also hide its title and password form in the different views.
- Password Protect WordPress Lite version 1.4.0 and greater
Once activation, go to PPWP settings page, you will see the “Protected Content Visibility” option under General tab.
This option is disabled by default. If you turn it on, you will be suggested to hide your password protected posts in the following places:
- Home page or Front page
- Search results
- Category pages
- Author pages
- Recent posts widget
- RSS Feeds
- Next & Previous
- Guttenberg widgets: Latest Posts, Recent Comments & Comments RSS (WIP)
When it comes to pages, our plugin allows you to hide them wherever they are listed via
get_pages function, such as:
- Front (home) page
- Search results
- Pages widget
- Navigation menu
If you’re using the popular Yoast SEO plugin with the XML sitemaps enabled, we will provide an option to help you exclude your password protected pages and posts from the XML sitemaps too. As a result, they won’t be indexed by Google and other search engines anymore.
Please note that:
- While protected content is hidden from the public, including people who have entered the right passwords, they are shown with all users in the whitelist.
- If you stick a password protected post, it will still display on the home page.