Spread the word

How to create private pages for subscribers in WordPress

August 7, 2020

WordPress Private Pages for Subscribers

‘As a website owner or blogger, one of the things you might want to do is create private pages for your email subscribers in WordPress. These private pages can either act as a secret blog, useful resources exclusively for subscribers, or something entirely different. 

One thing’s for sure, by creating a private subscriber-only area on your website, you’ll be able to:

  • Attract more signups 
  • Encourage website re-visits and 
  • Reward the loyal subscribers on your email list

By the end of this article, you’ll walk away knowing exactly how to create private pages for your email subscribers in WordPress. The best part? We’ll show you how to have it up and running in a matter of minutes using the WordPress plugin, Password Protected Categories.

Password Protected Categories
The easy way to add a subscribers-only area to your WordPress site.

How it works

From an email subscriber’s perspective, here’s how your private pages will work:

  1. A site visitor signs up to your email list to gain access to your subscriber-only area.
  2. Once they’ve signed up, they’ll receive a welcome email which contains a URL and password to gain them access.
  3. They click the URL which takes them to a landing page. This page contains a simple form asking them to input a password.
  4. Once the password is entered and they click ‘Login’, they’ll have access to your subscriber’s only area.
  5. This subscribers area will contain resources, private articles and more in the form of either posts or pages within WordPress.

This tutorial contains step-by-step instructions for each of these stages, so continue reading to get started.

How to create private pages for your email subscribers in WordPress

So let’s get to it. In this section, we’ll outline how to create your private pages in just 5 simple steps.

Note: This tutorial presumes you have an existing WordPress site installed.

Step 1: Install Password Protected Categories

To get started, purchase Password Protected Categories from the Barn2 store: https://barn2.co.uk/wordpress-plugins/password-protected-categories

Then follow these steps:

  1. Go to PluginsAdd NewUpload Plugin.
  2. Choose the zip file you downloaded, upload, and then click Activate.
  3. Once activated, you’ll need to enter your licence key.
License key activation WordPress Password Protected Categories

Now that we have Password Protected Categories installed, we can move onto creating our private pages.

Step 2: Create your private pages categories

At this stage, you’ll want to decide if you’d like to have your private pages as WordPress pages, or posts. If you’d like to have them as pages, you’ll need to install a free plugin to allow them to be categorised, as WordPress doesn’t provide page categories by default. This guide will help you set it up.

Next, you’ll want to create the category page that’ll have all the pages or posts inside it. This will act as your subscriber-only landing page.

  1. Go to Posts or PagesCategories.
  2. In the Add New Category section, give your new private subscriber area/category a name, slug and description (optional).
  3. Scroll down to the Visibility section and click the Password protected checkbox.
  4. Here you can add one or more passwords for your protected subscriber area. This will protect the category page and all the pages/posts inside it so that subscribers must enter the password to unlock them. 
  5. Click Add New Category and your new password-protected category will appear on the right-hand side of your screen with your other categories.
wordpress private pages for subscribers

Step 3: Create your subscriber login page

The login page will act as a password protected barrier stopping people accessing the content you’ve hidden behind it. Essentially, it contains a simple form field that requires the visitor to fill in with a password and click ‘login’ to gain access.

subscriber-only login

This step can be as simple or complicated as you’d like depending on your skill level. You can either:

  1. Link directly to the category page. This can be added to your navigation menu, website footer, or welcome email you send to new subscribers. You can find the link by going to: 
    1. Posts or PagesCategories.
    2. Hover over your password-protected category and click View.
    3. Copy the URL of this page.
password protected category
  1. Create a subscriber area login page. This technique works well if you want to add extra information to your page or if you’re creating separate password-protected categories for different types of subscriber. 
    1. Go to PagesAdd New.
    2. Give your page a name.
    3. Paste the shortcode [category_login] into the page text area.
    4. Then, add whatever extra content you desire to the page, click Publish and you’re done.
private pages for subscribers

Step 4: Create your private pages/posts

Now the category that hosts your private pages/posts has been created, it’s time to create the pages/posts themselves. This part is pretty straightforward and depending on how much content you want to add, will only take a minute:

  1. Go to Pages or PostsAdd New.
  2. Add your page/post content as you wish. This could be anything from private articles to downloadable resources, videos, pdfs and more.
  3. In the Document section on the right-hand side of your screen, scroll down to the Categories section.
  4. Check the new password-protected category you created earlier.
  5. Once ready, click Publish and your new page or post will be added to your password-protected page.
subscriber resources WordPress

By default, Password Protected Categories hides these posts from the public-facing areas of your site (e.g. widgets and navigation menus). If you’d like them to appear there, you can do so in the Password Protected Categories settings. Just go to SettingsProtected Categories. Scroll down to the Category Protection section and tick the checkbox next to Show protected categories?

show private pages in WordPress

Step 5: Tell your subscribers

Now that you’ve created your private pages for subscribers in WordPress, it’s time to tell them about it. You’ll want to tell existing subscribers and have a way to incentivise new blog visitors to sign up too. Here’s how to do both.

Tell your existing subscribers

To tell your existing email subscribers, you’ll simply need to send them an email with a link to your newly created protected area. Within this email, you’ll want to add the page link and password so your subscribers can gain access to the hidden content. 

Incentivise new blog visitors to sign up

To encourage new blog visitors to sign up and gain access to your hidden content, you’ll want to add an email signup form to your website.

MailChimp email signup

We recommend MailChimp. You can use this to send notifications of your new private blog articles and resources to your subscribers. Find out how with our tutorial below, which includes instructions on how to:

Now that you have MailChimp up and running, you’ll need to create a welcome email. This will be sent to all new subscribers and will contain both the link to your subscriber-only area and the password.

To do this, open up your MailChimp dashboard and do the following:

  1. In your MailChimp account dashboard, click the Automate drop-down menu and click Email.
  2. Then, click the Subscriber Activity tab and click Welcome new subscribers.
MailChimp welcome email
  1. In the Single email tab, enter a campaign name (this is just the name of your welcome email) and click the drop-down menu to choose your audience (previously called ‘list’ in MailChimp). If you need help with setting up your audience, read our tutorial here
  2. Once ready, click Begin.
  3. Next, you’ll be able to add your welcome email content. Make sure to add the URL of your private subscriber area and the password. 
  4. Once happy, click Start Sending and your new email subscribers will automatically be sent this new email once they sign up.
MailChimp new subscriber email

Create private pages for your subscribers in WordPress

That’s it, your site’s now set up with a private subscriber-only area. With this up and running, you’ll be able to encourage more email signups, automate sending out private content and add new pages/posts within a matter of minutes.

Make this setup quick and risk-free with Password Protected Categories.

Password Protected Categories
The easy way to add a subscribers-only area to your WordPress site.

Gina Lucia

Gina Lucia is a freelance writer and contributor to the Barn2 blog. She specialises in WordPress website optimisation, ecommerce and B2B writing. When not working, she can typically be found tending to her vegetable garden or travelling to mainland Europe.

Please share your thoughts...

Your email address will not be published.