How to create a website Private on WordPress?

How to make the content of your blog Private?

Here are 2 questions that many bloggers are asking every day.

A blog mainly intended to be accessible to all. However, there are situations in which you want to make your blog totally private. We have also received several requests in this direction. How to create a private password protected blog

Some users were asking if it was possible to protect their blog content (portfolio family) SEO and unknown visitors.

If you want also make your blog completely private, then you are in the right place. 

Complete your knowledge by consulting also these 8 WordPress plugins to protect your website with a password

In this tutorial we will show you how to do it quite easily. We will also show you how to create a private article (protected by a password) for those who want to create a private section in a public blog.

Who and when do you need a private blog

  • A private blog is useful for restricted sharing of personal content, it could be your family events, wedding photos, baby photos, with friends and family, etc.
  • A private blog can be used as your own public or intimate newspaper
  • People working on projects can collaborate on a private blog
  • A website that is not yet fully developed may be private
  • A school website can be private and only accessible to registered students

How to make a blog partially private

What do we mean by a partially private blog? This is a blog in which some parts of its content are hidden and only available under certain conditions. To achieve this, we will use the plugin " Private Content", Which allows you to limit the portion of the content that should be hidden.

Private content wordpress plugins

This plugin provides a shortcode that accepts some parameters that are quite detailed on the description of the plugin. Here are the most useful parameters and their description:

  • role: allows you to restrict content to users with a specific role. Example [private role = "admin"] Protected content [/ private]
  • Containers: allows to wrap the content in a precise tag. Example [private container = "div"] Protected content [/ private]
  • container: allows you to restrict content to a specific user. This parameter accepts user names. Example [private recipient = "john"] Protected content [/ private]

Public chat the plugin pageyou will find a complete list of parameters and their usefulness.

How to make your blog completely private

The first thing you need to do is install and activate the Plugin  WP Private Content Plus. After activation, you must access the interface « Private Content Settings> Private content settings » To configure the Plugin.

Restrict content setting

You should know that there is a premium version of the plugin which offers a lot more features. The basic functionality of the plugin allows you to set up a basic restriction which may be sufficient for most blogs.

You must first restrict the content by clicking on " Enable Private Content Module"

You can also redirect all users who do not match certain criteria to a specific URL of your choice, which you will add to the " Post / page Restriction Redirect URL"

All you have to do next is protect the articles by modifying them.

Wordpress article protection

How to create private articles on WordPress

WordPress has a built-in feature that allows you to publish articles and pages protected by a password. And Vhere's what you need to do to create an article or a page private.

You must start by creating a new article about WordPress or modify an existing one. On the content editor screen, go to visibilite (on the right of the screen), which is an option on the section " publish ». Click on the link « Edit«  following the visibility (Par default the value is "Public")

If you are using the editor Gutenbergyou will find this option also on the right sidebar of your dashboard.

Wordpress password protected article

Clicking on it will immediately give you the option to set the password for your article. You will still have the option to switch to normal mode by clicking on " Protected by a password"

Edit a password protected article

To access the article in question, users will need to enter the exact password to view the article. 

See also How to Write (write) quality content on days when you feel heavy and distracted

Please note: : Keep in mind that users with the editor or administrator role will be able to view the password protected by accessing the dashboard. However, if you are the only admin on your website, then you don't need to worry about this.

Now, discover premium WordPress plugins that will help you protect your online store.

1. WooCommerce Password Protection Products, Categories or Shop

This WordPress plugin allows you to password protect your entire website, a section of your online store, specific categories, products or pages. You will be able to create a password, hide the desired content from the public, and share it with specific people.

Woocommerce password protected products categories or shop plugin

You can also choose to display password protected pages in search engine results by allowing them to crawl those pages.

Its features include: password protection for a section or your entire website, the ability to create multiple passwords by importing them to create different access rules to your website, customization of the background from the password protection page, and much more.

Download Demo | Web hosting

2. Product Password Protector 

This is a fairly simple WooCommerce plugin that can be used to enable password protection for your products (general or individual for each product). So, if the administrator allows password protection for some products, the user will be prompted to enter the product's password to purchase it.Product password protector wordpress plugin for security

Its features are: ease of use via the dashboard, enabling or disabling password protection for your products, compatibility with most browsers, no coding required.

Download | Demo | Web hosting

Other recommended resources:

BlogPasCher recommends others WordPress plugins if you also want create a website private:

Conclusion

Here is ! We hope this article will help you protect your articles and pages with a password on your website WordPress. It's a great way to share your content with a small number of people.

However, this is not the only way to make it happen and if you have any you want to suggest, feel free to do so in the comments section. Mostly, do not forget to share this article with your friends about Social Media.

...