How to Hide WordPress Protected Content

Once your private content is protected by our Protect Pages & Posts (PPP) plugin, those without permission won’t be able to access the content directly through its URL. They will be redirected to your “No Access” page instead. 

However, the protected content will still display somewhere on your website such as your home page latest posts, Archives and Search results. This accidentally reveals your private content to unwanted users. That’s why we’ve developed a new feature which allows you to control the visibility of your protected pages and posts. In other words, you’ll be able to hide or decide where to display the protected content.

When a post is protected, it will no longer show up on these places by default:

  • Front page latest posts
  • Category pages
  • Author pages
  • Archives
  • Recent posts
  • Search results
  • RSS Feeds
  • Next & Previous on a single page or post
  • Latest Posts, Recent Comments & Comments RSS Guttenberg widgets (WIP)

When it comes to WordPress protected pages, they will be excluded from:

  • Front (home) page
  • Search results
  • Anywhere else it is listed via get_pages function

If you’re using the popular Yoast SEO plugin with the XML sitemaps enabled, we will provide another option to help you exclude your protected pages and posts from the XML sitemaps. As a result, they won’t be indexed by Google and other search engines anymore. 

* This feature is available in Protect Pages & Posts (PPP) Gold 1.0.14 and greater

Lasted updated on November 7, 2019