Home » WordPress Tutorials » Security » How to Make Your WordPress Site Private

How to Make Your WordPress Site Private

WordPress offers a wide list of privacy options that are convenient in many situations. When you build a WordPress website, you should focus on learning about site privacy, as this will be greatly beneficial in the long term.

In the following paragraphs, you will learn how to:

  • make an entire WordPress site private
  • make individual web pages private

You will also learn how to exclude your website or certain web pages from search results.


How to Make Your WordPress Site Private

One of the easiest and most convenient ways to make your WordPress site private is by using WordPress plugins. There are many useful tools that you can choose from and each one offers a different approach to privacy settings.

If you are not sure about how plugins work, then check out our What is a WordPress Plugin article.


1. Make Your Entire Site Private

If you are still working on the final outlook of your site, you might want to fully block access to your site until the job is done. To do so, you can use different WordPress plugins.

One such is Under Construction.

To use the plugin, you must first install and activate it.

Once you’ve activated the plugin, a new menu with options will appear in your WordPress sidebar:

wordpress plugin menu


When you open that menu, a new page with options will appear:

wordpress plugin options


This is the place from where you can set up your preferred privacy settings with this particular plugin.

For example, you can choose the layout of the page that will appear to visitors as they try to access your website. You can also change the text that they will see upon opening the URL and inform them what the cause for limited access might be.

Here are two examples:

wordpress site under construction


wordpress under maintenance



2. Make Individual Web Pages Private

Sometimes you might want to block access to a particular page or a set of pages on your website. This is a default WordPress feature and does not require using a dedicated plugin.

To activate privacy on any of your pages, go to Pages->All Pages via your Dashboard:

wordpress all pages


A list with all your site pages will appear. Find the one you wish to make private, hover your mouse cursor over the page’s heading and click on the Edit button that will appear:

wordpress pages menu


This will open the Edit Page options:

wordpress edit page


While on this page, find the Publish box, located at the right of the screen, and within this box locate the Visibility menu:

wordpress page visibility options


Clicking on the small Edit button will open the page’s privacy settings:

wordpress visibility private


From the options, select Private. This will deny access to all visitors and registered users that take lesser WordPress roles. This is the default message these visitors will see if they try to access the blocked page:

wordpress error 404


An Alternative to Privacy: Exclude Your Site from Search Engine Indexing

Hiding your website from search engines means that your site won’t be found within the search results of any search engine such as Google and Bing.

To do so, simply go to your WordPress Dashboard and then to Settings->Reading:

wordpress site reading settings


This will open a page with different kinds of settings. At the bottom you will see a Discourage search engine from indexing this page checkbox right next to the Search engine visibility menu:

wordpress search engine visibility


To hide your site from search engines, simply add a tick to this box and then click on the blue Save Changes button. This will ensure that your website won’t be indexed by search engines.

Keep in mind, however, that this approach doesn’t limit access to your site. This means that if someone knows the exact URL of your site and types it in a web browser, they will still open it and browse your content.



There are many reasons to make your website private. Luckily, WordPress is versatile enough to allow you to do so in a fast and efficient manner.

Protection can never be overestimated. This is why we, at ZETTAHOST offer some enhanced security with SSL Certificates. If you are not sure where to start, check out our plans and secure your website today!



Was this article useful?

Click on a star to rate it!

Average rating 5 / 5. Vote count: 1

No votes so far! Be the first to rate this post.

Newest Articles:

How to Add a Site Logo Block in WordPress with Gutenberg

Adding a site logo in WordPress with Gutenberg is straightforward and requires only a few mouse clicks and just several minutes of your time. In the following paragraphs, you will read how to add a site logo to your WordPress website via the Gutenberg editor step by...

How to Add Images to WordPress with Gutenberg

Adding images with Gutenberg is quite simple. The block editor is very user-friendly and allows you to add images in several ways. In the following paragraphs, you will read about 4 methods you can instantly use to upload the media files you want.   How to Add...

How to Disable Gutenberg in WordPress

If Gutenberg is not suitable for your needs and wish to switch back to the Classic Editor, continue reading, as in this article we will show you 3 simple methods of how to disable the block editor. In the following sections, you will read how to disable Gutenberg by:...

5 Best Gutenberg Plugins for WordPress

One of the fastest and most convenient ways of enhancing the functionalities of Gutenberg is by using various WordPress plugins. Although Gutenberg is very versatile and feature-rich by itself, the open-source nature of WordPress has inspired developers all around the...

How to Add a Contact Form with WordPress Gutenberg Editor

If you are using Gutenberg to craft your WordPress website, then you should know that the process is very easy, especially by using the block editor. In the following paragraphs, you will read how to add one to your pages.   How to Add a Contact Form with...

Ready to Create Your Website?