Family, Fun & TechJoshua Titsworth's blog since 2009
WordPress

How to Make a WordPress Blog Private (or Just Some Posts)

By 4 min read

To hide single posts in WordPress, set the post's Visibility to Private (only logged-in Editors and Administrators can see it) or Password protected (anyone with the password can read it). To hide a whole self-hosted blog, a login-required setup or a membership plugin is needed, because the Search engine visibility setting only asks search engines not to index the site.

Plenty of family blogs start public and later want a little privacy: a post about a kid's school, a holiday address, photos the grandparents asked for but nobody else needs. WordPress has three built-in tools for this, and each hides a different thing. Picking the wrong one is how a "private" post ends up in a search result, so let me walk through what each one really does.

Key takeaways

  • Private posts are visible only to logged-in Editors, Administrators and the post's author.
  • Password protected posts show the title to everyone and the content to anyone with the password.
  • Discourage search engines asks search engines to skip the site; it does not stop people from reading it.
  • Hiding an entire self-hosted blog from visitors needs a login wall, usually a plugin.
  • Photos uploaded to a private post can still be reached by direct file URL.

What are the visibility options for a WordPress post?

Every post and page has three visibility settings: Public, Private and Password protected.

You find them in the block editor's sidebar under the post's status and visibility settings. The defaults are Public.

Visibility Who can read it Shows in archives and feeds? Good for
Public Everyone Yes Normal posts
Private Logged-in Editors, Administrators and the author No, only for those users Drafts you want to keep, notes for co-authors
Password protected Anyone with the password Title only, marked Protected Sharing a post with relatives

How do you make a single post private?

Open the post, change Visibility to Private, and click Update.

  1. Open the post in the editor.
  2. In the sidebar, open the Visibility setting.
  3. Choose Private and confirm.
  4. Click Update (or Publish for a new post).

Once it is private, visitors who are not logged in get a not-found page for that URL. The catch for family blogs is the audience: Private means site staff, not readers. A grandparent with a Subscriber account still can't see a private post.

How do you password-protect a post?

Set Visibility to Password protected, type a password, and share it with the people who should read the post.

For sharing something with relatives without creating accounts for them, this is the option I'd reach for. A few things to know:

  • The title and the fact that the post exists are still public. Write a title that does not give away what you are hiding.
  • WordPress remembers the password in a cookie for a while, so readers don't need to retype it on every visit.
  • Custom field data attached to a protected post is not covered by the password, so keep sensitive details in the post body itself.

Does "Discourage search engines" make a blog private?

No; it only asks search engines not to index the site, and every post stays readable by anyone with the link.

The setting lives under Settings > Reading as "Search engine visibility". Checking it tells search engines you would prefer they don't index the site. Well-behaved search engines honor that, but a link shared in an email or a social post still opens the page. I'd use it for a staging copy or a blog that is just starting, and never for hiding personal information.

If a post was already indexed before you changed anything, it can take a while to drop out of search results. Making the post private or password protected removes the content itself.

How do you make an entire WordPress blog private?

On a self-hosted site, require a login for every page using a membership or "private site" plugin, then create accounts for the readers you trust.

WordPress core has no switch for "whole site visible only to logged-in users". Plugins add one, and most let you choose whether new readers can register or must be invited. Hosted WordPress.com sites have their own privacy setting for this in the site settings, so check your plan before installing anything.

Before you lock everything down, decide what stays public. My own leaning would be to keep the older, general posts open. Many family blogs keep the archive of older, general posts public, and only put new family posts behind a password or login. That keeps the blog's search traffic and links alive while the personal parts stay personal.

What does privacy in WordPress not cover?

Media files are not protected by post visibility, so an image from a private post can still load for anyone who has its direct URL.

Uploaded images live in the media library at a public address. If a photo is truly sensitive, my advice is simple: don't upload it to a public website at all, or use a plugin that protects media files. It's also worth checking old posts. My own plugins post from years back is a reminder that what made sense to share in one year may look different a decade later.

Frequently asked questions

Who can see a private post in WordPress?

Logged-in users with the Editor or Administrator role, plus the post's own author. Visitors who are not logged in get a not-found page instead of the post.

Does a password-protected post hide the title?

No. The title still appears on the blog and in archives, with the word Protected in front of it. Only the content is hidden until someone enters the password.

Does Discourage search engines make my blog private?

No. It adds a request not to index the site, which well-behaved search engines follow, but anyone with the link can still read every post.

Can family members read private posts without being editors?

Not with WordPress's built-in private visibility. Either share a password-protected post, or use a plugin that restricts the site or specific posts to logged-in subscribers.

Sources

  1. Set blog content visibility (WordPress.org Support)
  2. Protect posts with password (WordPress.org Support)