Creating a paywall on your WordPress site can help you earn money from your content. A paywall lets you charge for access to some or all of your articles using a subscription plan.
Big names like the NYTimes and the Washington Post already use this freemium model. It’s a great way to monetize your hard work.
In this guide, we’ll show you how to set up a paywall on your WordPress site. We’ll also explain how to offer previews of your paid content to attract more subscribers.
![Creating a paywall Creating a paywall](https://www.wpbeginner.com/wp-content/uploads/2020/07/create-a-paywall-in-post.png)
What Is a Paywall, and Why Use One?
A paywall hides or locks your content until the reader pays to access it. News sites like The Daily Telegraph often use a paywall to help them fund quality journalism and cover operational costs.
![The Daily Telegraph's paywall The Daily Telegraph's paywall](https://www.wpbeginner.com/wp-content/uploads/2020/07/dailytelegraphs.png)
If you have lots of high-quality content, then this is a great way to monetize your site, particularly if you don’t want to sell ads on your WordPress blog.
Paywalls usually ask the visitor to buy an ongoing subscription so you can make money online blogging with WordPress over the long term. However, you can also charge a one-time fee for lifetime access.
Despite the name, not all paywalls ask for payment.
Some websites use a paywall to grow their email list by asking users to subscribe to their email newsletter or register for a free account, like The New York Times.
![New York Times asking for an email address but not payment New York Times asking for an email address but not payment](https://www.wpbeginner.com/wp-content/uploads/2020/07/newyorktimes.png)
Then, you can also give readers the option to either join your email list or pay for a subscription.
Here’s the paywall example from the Washington Post:
![The Washington Post's paywall The Washington Post's paywall](https://www.wpbeginner.com/wp-content/uploads/2020/07/washingtonpost.png)
In many cases, paywalls offer a trial so visitors can access a limited amount of content for free. For example, readers might get 5 free articles before they need to buy a membership.
With that in mind, we’ll show you how to create a paywall in WordPress. Here’s a quick overview of all the methods we’ll share in this guide:
Ready? Let’s get started!
Method 1: Creating a Paywall on Your WordPress Site Using MemberPress
A great way to create a paywall is to use MemberPress. It is the best membership and paywall plugin for WordPress that allows you to easily sell subscription-based products on your website, including access to premium content.
You can see our complete MemberPress review for more details.
First, you need to install and activate the MemberPress plugin. For more details, see our step-by-step guide on how to install a WordPress plugin.
Upon activation, go to MemberPress » Settings and enter your license key into the ‘License Key’ field.
![Enter your MemberPress license key Enter your MemberPress license key](https://www.wpbeginner.com/wp-content/uploads/2020/07/wp-memberpress-settings-licensekey.png)
You can find the key by logging in to your account on the MemberPress website. It’s also in the email you got when you purchased MemberPress.
After entering this information, click on ‘Activate License Key.’
Next, you’ll need to set up a way to easily accept credit card payments in WordPress. The good news is that MemberPress supports several popular payment gateways.
You can add a payment method by going to the MemberPress » Settings page and switching to the ‘Payments’ tab.
![The MemberPress payment settings page The MemberPress payment settings page](https://www.wpbeginner.com/wp-content/uploads/2020/07/wp-memberpress-settings-payments.png)
Here, click on ‘Add Payment Method’ and open the ‘Gateway’ dropdown.
You’ll see that MemberPress supports PayPal and Stripe payments. If you’ve purchased a MemberPress Pro plan, then you’ll also be able to use Authorize.net.
![Adding a payment gateway to a MemberPress paywall Adding a payment gateway to a MemberPress paywall](https://www.wpbeginner.com/wp-content/uploads/2020/07/wp-memberpress-settings-paymentoptions.png)
After choosing a gateway, MemberPress will show all the settings you need to configure this payment method.
For example, if you are adding PayPal payments to WordPress, then you’ll need to enter your PayPal email address.
![Entering details for your chosen payment method Entering details for your chosen payment method](https://www.wpbeginner.com/wp-content/uploads/2020/07/wp-memberpress-settings-payments-paypaldetails.png)
When you are happy with how the payment method is set up, don’t forget to click on the ‘Update Options’ button to store your changes.
You may be able to get more sales and improve the customer experience by allowing users to choose a payment method. To add more gateways, simply click on ‘Add Payment Method’ and repeat the same process described above.
Creating a Subscription Plan for Your Paywall
Now you’ve completed the initial setup, it’s time to create the paywall. To do that, you’ll need to create a membership level in MemberPress.
Simply visit the MemberPress » Memberships page and then click the ‘Add New’ button.
![Add new membership Add new membership](https://www.wpbeginner.com/wp-content/uploads/2020/07/wp-memberpress-memberships-addnew.png)
On the next screen, you need to give the membership plan a title. This will appear in your admin area and will also be visible to the people who visit your WordPress website.
Next, type how much this membership will cost into the ‘Price’ field. In the following image, we’re creating a ‘Premium Subscription’ plan and set the price to $5.
![Setting up the new membership, including the price Setting up the new membership, including the price](https://www.wpbeginner.com/wp-content/uploads/2020/07/wp-memberpress-memberships-premiumsubscription.png)
If you want to create a free membership, then you can leave the price at 0.00. For example, your goal might be to do lead generation by collecting email addresses.
You can also choose between ‘Recurring’ and ‘One-time’ payments using the ‘Billing Type’ dropdown menu.
By accepting recurring payments in WordPress, you can automate the billing process and save a lot of time. It also means you don’t have to send invoices manually.
One-time payments don’t renew automatically, which may help put your audience at ease and make them more likely to sign up. Every site is different, so you may want to try different settings to see what works best for you.
If you do select recurring payments, then you can choose from monthly, yearly, weekly, quarterly, or set a custom interval.
If you select ‘One-Time,’ then you can choose ‘Lifetime’ or set an expiration date, which can either be a calendar date or a length of time, such as one month since the person purchased their membership.
Optionally, you can provide a description for your membership plan in the text editor and customize it further in the ‘Membership Options’ box.
For example, you can create a custom thank you message or a custom welcome email.
![Membership options Membership options](https://www.wpbeginner.com/wp-content/uploads/2020/07/wp-memberpress-memberships-membershipoptions.png)
Expert Tip: If you create a membership welcome email, then it’s a good idea to test that this email is sent properly. If the email doesn’t arrive in your inbox, then we recommend using an SMTP service provider to improve your email delivery rates.
When you are happy with the membership settings, just click on the ‘Publish’ button to make the membership level live.
You can create multiple membership plans with different settings. For example, you might also create a VIP plan that gives users access to additional content and features.
To create more membership levels, simply follow the same process described above.
Creating a Pricing Page
MemberPress makes it easy to display information about all the plans visitors can buy.
To create a pricing page, go to the MemberPress » Groups page and click ‘Add New.’
![Creating groups in MemberPress Creating groups in MemberPress](https://www.wpbeginner.com/wp-content/uploads/2020/07/wp-memberpress-groups-addnew.png)
First, you need to type in a title for the group plan page, which will be visible to visitors.
After that, scroll down to the ‘Group Options’ box. You can add the memberships you want to display on the pricing page.
![Create a pricing plans for your membership subscriptions Create a pricing plans for your membership subscriptions](https://www.wpbeginner.com/wp-content/uploads/2020/07/wp-memberpress-groups-groupoptions.png)
You can also select a theme for the pricing table. MemberPress comes with a few ready-made designs to choose from.
When you are happy with how the page is set up, just click the ‘Publish’ button to make it live. If you click on the ‘View Group’ link after publishing it, you’ll see the pricing and plan page.
![An example of a pricing page, created using the MemberPress plugin for WordPress An example of a pricing page, created using the MemberPress plugin for WordPress](https://www.wpbeginner.com/wp-content/uploads/2020/07/livewebsite-membershipplans.png)
Adding Content Behind the Paywall
Once you’ve created one or more membership plans, it’s time to choose the content that you’ll hide behind the paywall.
MemberPress is a powerful plugin that lets you restrict access to your content in lots of different ways. For example, you can restrict WordPress pages by user role or even create a private client portal.
To place content behind a paywall, go to MemberPress » Rules and click on the ‘Add New’ button at the top.
![Creating a new rule Creating a new rule](https://www.wpbeginner.com/wp-content/uploads/2020/07/wp-memberpress-rules-addnew.png)
Next, you need to select the content that you want to restrict.
MemberPress lets you restrict access to specific pages and posts. For example, you might lock the latest post on your WordPress blog so only registered members can access it.
![Adding a paywall to a single WordPress post Adding a paywall to a single WordPress post](https://www.wpbeginner.com/wp-content/uploads/2020/07/wp-memberpress-rules-addprotectedcontent.png)
However, restricting access to each post or page separately can take a lot of time.
If you have lots of content to restrict, then MemberPress also lets you create rules for entire categories and tags. This lets you restrict access to sets of related content.
For example, you might add content locking to all posts tagged ‘Premium Content.’
![Adding a paywall to an entire WordPress category Adding a paywall to an entire WordPress category](https://www.wpbeginner.com/wp-content/uploads/2020/07/wp-memberpress-rules-taggedpremiumcontent.png)
For more information about categories and tags, please see our guide on how to add categories and tags in WordPress.
When you are ready, open the ‘Protected content’ dropdown and choose the type of content that you want to restrict, such as ‘A Single Post,’ ‘Posts Categorized,’ or ‘Child Pages Of.’
Depending on the option you choose, you’ll get access to some extra settings. For example, if you select ‘Posts Categorized’, then you can type in the category name.
After that, scroll to the ‘Access Conditions’ section and select ‘Members.’
![Adding a paywall to your WordPress website Adding a paywall to your WordPress website](https://www.wpbeginner.com/wp-content/uploads/2020/07/wp-memberpress-rules.png)
You can then choose the membership to which this rule will apply.
By default, if a non-member tries to view the restricted content, then they’ll see a ‘You are unauthorized to view this page’ message, as you can see in the following image.
![The default message that visitors will see if they aren't subscribed and logged in The default message that visitors will see if they aren't subscribed and logged in](https://www.wpbeginner.com/wp-content/uploads/2020/07/livewebsite-defaultmessage.png)
It’s a good idea to customize this message so visitors know this content is behind a paywall rather than simply unavailable. To do this, scroll to the ‘Unauthorized Access’ section and then open the ‘Unauthorized Message’ dropdown.
You can now choose ‘Custom’ and type a message into the post editor.
![Changing the unauthorized access message Changing the unauthorized access message](https://www.wpbeginner.com/wp-content/uploads/2020/07/wp-memberpress-rules-custommessage.png)
It’s also smart to add a link so people can easily buy a membership and unlock the paywall.
After that, you may want to show an excerpt of the locked content, as this will make visitors want to read more. To create a paywall teaser, open the ‘Excerpts’ dropdown and choose how much of the post you want to show, such as the first 100 characters or the post excerpt.
![Setting a post excerpt limit Setting a post excerpt limit](https://www.wpbeginner.com/wp-content/uploads/2020/07/wp-memberpress-rules-showexcerpts.png)
When you are happy with how the rule is set up, scroll to the top of the page and click ‘Save Rule’ to make the paywall live.
Here’s what it might look like on your website:
![The post's excerpts and custom message that visitors will see if they aren't subscribed and logged in The post's excerpts and custom message that visitors will see if they aren't subscribed and logged in](https://www.wpbeginner.com/wp-content/uploads/2020/07/livewebsite-excerptsandcustommessage.png)
Now, you can go back to Posts » All Posts in your dashboard.
From here, you should see that some or all of your posts are now marked as subscription-only based on the rule you created earlier.
![Different accesses for WordPress posts Different accesses for WordPress posts](https://www.wpbeginner.com/wp-content/uploads/2020/07/wp-posts-allposts.png)
For a more detailed look at the MemberPress settings and features, check out our ultimate guide to creating a membership site.
Giving Non-Members a Limited Number of Free Views
You may want to let non-members see a certain amount of your content for free. This is a great way to promote your premium content and get more members.
You can create a free trial in MemberPress by going to MemberPress » Settings and then clicking on the ‘General’ tab.
![The general settings in MemberPress The general settings in MemberPress](https://www.wpbeginner.com/wp-content/uploads/2020/07/wp-memberpress-settings-general.png)
Here, you’ll need to scroll to the ‘SEO & PayWall’ section and check the ‘Enable PayWall’ box.
This adds a new section where you can type in the number of paywall-protected pages and posts that non-members can see before it triggers the paywall.
![Enabling the paywall feature in MemberPress Enabling the paywall feature in MemberPress](https://www.wpbeginner.com/wp-content/uploads/2020/07/wp-memberpress-settings-general-freeviews.png)
Note: On this screen, you can also give search engines access to your protected content by checking the ‘Authorize Search Engines’ box. This helps your paywalled content rank in the search results, which can get you more visitors. However, this setting doesn’t work if you enable a caching plugin.
When you are happy with the changes you’ve made, simply scroll to the bottom of the page and click on ‘Update Options.’
Method 2: Creating a Paywall on Your WordPress Site Using OptinMonster
The easiest way to create a paywall is by using OptinMonster, the best lead-generation tool on the market. With OptinMonster, you can boost your site’s traffic, grow your contact list, and increase sales.
To get started, you’ll need to create an OptinMonster account on its website. From the homepage, simply click the ‘Get OptinMonster Now’ button.
![OptinMonster Email Marketing Growth Toolkit OptinMonster Email Marketing Growth Toolkit](https://www.wpbeginner.com/wp-content/uploads/2017/09/optinmonster.png)
Creating a Content Lock Campaign
Content locking stops users from seeing your content until they sign up for your contact list. It’s not like a traditional paywall since users don’t have to pay anything. They just need to give their email address.
So, why use this method? The more emails you collect, the higher your chances of making more money through email marketing.
To get started, let’s navigate to OptinMonster » Campaigns » Add New from your WordPress dashboard.
![Creating a new campaign in OptinMonster Creating a new campaign in OptinMonster](https://www.wpbeginner.com/wp-content/uploads/2020/07/wp-optinmonsters-campaign-addnew.png)
This will open a pop-up window where you’ll need to choose between using a template and a playbook.
Templates are ready-made designs for your forms and pop-ups that you can customize to match your website. On the other hand, playbooks have pre-set strategies that help you achieve specific goals like gaining more email sign-ups or reducing cart abandonment.
For an easier customization, let’s choose ‘Templates.’
![Choosign to use templates Choosign to use templates](https://www.wpbeginner.com/wp-content/uploads/2020/07/wp-optinmonsters-campaign-template.png)
On the next screen, you’ll be prompted to select a campaign type and a template.
Since we’re creating a paywall, we’ll want something that will cover our content. While ‘Fullscreen’ seems like a good option, we’ll go with ‘Inline’ as it allows us to give a little sneak peak to the readers.
For the template, you can use the filter on the left side to narrow your choices. When you see a template you like, simply hover over it and click the ‘Use Template’ button.
![Choosing an inline campaign type and template Choosing an inline campaign type and template](https://www.wpbeginner.com/wp-content/uploads/2020/07/wp-optinmonsters-campaign-inline-1.png)
Next, you’ll see the ‘Create Campaign’ pop-up window.
Here, you’ll name your campaign. This is for your reference only, but be sure to use a name that’s easy to refer to. For example, we call our campaign ‘Paywall.’
Go ahead and click the ‘Start Building’ button.
![Naming the campaign Naming the campaign](https://www.wpbeginner.com/wp-content/uploads/2020/07/wp-optinmonsters-namingthecampaign.png)
This will redirect you to the campaign builder.
The first thing to do here is to edit the copy. To do this, you can simply click on a text element and replace the existing text with anything you like.
![Editing the headline in the campaign builder Editing the headline in the campaign builder](https://www.wpbeginner.com/wp-content/uploads/2020/07/wp-optinmonsters-editingthecopy.png)
Once you’re done editing your copy, let’s switch to the ‘Display Rules’ tab to adjust the campaign’s settings.
Activating the Content Lock Campaign
From the ‘Display Rules’ tab, you’ll want to focus on the tabs on the footer tabs.
When you locate it, let’s click the ‘Actions’ tab to open the panel.
![Enabling content locking in OptinMonster Enabling content locking in OptinMonster](https://www.wpbeginner.com/wp-content/uploads/2020/07/wp-optinmonsters-campaign-enablingcontentlocking.png)
Here, you can scroll down to the ‘Lock Content’ section and toggle on the switch next to ‘Enable Content Locking?’
You might notice a dropdown menu next to the toggle. This is where you can customize how you lock your content.
There are 2 methods. The default setting is ‘Blur locked content,’ which will make everything blurry, and the other one is ‘Remove locked content,’ which will completely remove the content from users’ screens.
For reference, we’ll stay with the default settings.
Go ahead and click the ‘Save’ button.
Publishing and Embedding the Campaign
Now that you’ve created your paywall campaign and set up content locking, it’s time for publication.
So, let’s move on to the ‘Publish’ tab.
After that, you can simply change the ‘Publish Status’ from ‘Draft’ to ‘Publish.’
![Publishing the paywall campaign Publishing the paywall campaign](https://www.wpbeginner.com/wp-content/uploads/2020/07/wp-optinmonsters-publishingpaywallcampaign.png)
You might then notice that the ‘Publish’ tab now shows ‘Published’ with a check mark.
From here, you can close the campaign builder and navigate to OptinMonster » Campaigns.
Next, you’ll want to click on ‘Pending’ to change the Paywall campaign’s status. In the dropdown menu, let’s click ‘Publish.’
![Changing the campaign's status from the OptinMonster dashboard Changing the campaign's status from the OptinMonster dashboard](https://www.wpbeginner.com/wp-content/uploads/2020/07/wp-optinmonsters-campaign-changingstatus.png)
Now, all that’s left to do is embed the paywall campaign to your post or page.
To do this, you’ll want to hover over your campaign from the list and click the ‘Output Settings’ link.
![The Output Settings link on campaign list The Output Settings link on campaign list](https://www.wpbeginner.com/wp-content/uploads/2020/07/wp-optinmonsters-campaign-outputsettings.png)
In the customization area, you’ll want to select the ‘Automatic – Configure and display your campaign automatically.’
The other option is good, too. But you’ll need to add it to your post or page one by one, which can be more time-consuming.
After choosing ‘Automatic,’ you’ll see more options. We’ll adjust the setting to ‘After 1 Paragraph.’
This means that after a single paragraph, the paywall will appear.
![Configuring output settings Configuring output settings](https://www.wpbeginner.com/wp-content/uploads/2020/07/wp-optinmonsters-campaign-outputsettings-configured.png)
Then, you’ll want to scroll down and click the ‘Save Changes’ button.
And there you have it! You should now have a paywall protecting your content. Here’s what it might look like on your blog:
![Example of an OptinMonster paywall on a live website Example of an OptinMonster paywall on a live website](https://www.wpbeginner.com/wp-content/uploads/2020/07/livewebsite-optinmonsters-paywall.png)
Note: If you use Thrive, then we have good news! You can also use Thrive Leads to create a paywall on your WordPress site. For more detailed instructions, you can refer to their guide on how to create gated content in WordPress.
Bonus Tip: Adding Free Trial Subscriptions in WordPress
Adding subscriptions to your website means steady money coming in, fewer payment mistakes, and fewer delays. But often, customers want to try before they buy, especially for longer or more expensive subscriptions.
So, it’s a good idea to offer a free trial.
![How to add a free trial subscription to a website How to add a free trial subscription to a website](https://www.wpbeginner.com/wp-content/uploads/2023/05/custom-button-trial-.png)
If your potential subscribers like the free trial, they might decide to pay for a full subscription. Even if they don’t sign up right away, you can use their contact details to keep in touch. You could send them special offers or notify them of updates.
To learn more, you can read our guide on how to add free trial subscriptions in WordPress.
We hope this article helped you learn how to create a paywall on your WordPress site. Next up, you might also want to see our guides on how to track customer journeys and how to add or remove capabilities to user roles.
If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.
Mrteesurez
This is well understood, thanks, but need to ask these:
1. Isn’t paywall also the same as pay per view and which is the better approach concerning membership site ?
2. Doesn’t giving search engines access to protected content by checking the ‘Authorize Search Engines’ box exposed contents to public ?
WPBeginner Support
Depending on your implementation they can be the same or at least similar. It would depend on your content for which is the best method.
It would not give access to your all of your content to the public.
Admin
Mrteesurez
I offer educational contents, that are arranged in order in a site and offer videos and ebooks in another site. Glad to hear it wouldn’t give access to your all of my content to the public. Thanks for your support.
Jiří Vaněk
Thanks for the tutorial. I have previously considered the concept of a free website and paid content on hero hero or patreon. However, after watching this tutorial, I am really starting to realistically think about the fact that even paid content will be part of my website on one platform. Great, thanks for your work.
Chris
Is there a way of turning off ads if the content is premium? Or does this need to be done manually?
WPBeginner Support
It would depend on what tools you are using to display ads on your site and where the ads are as there are different possible tools that can be used.
Admin
Chris
Google Adsense would be the one for now.
One last question. Do Subscribers have to actually login to a Wordpress account to view the restriced or paid content?
WPBeginner Support
You could use widgets that hide for logged-in users to allow for what you’re wanting and yes, users would need to log in to their account to see your content.
Isabelle
Does it concern wordpress.com only or wordpress.org only or both ?
WPBeginner Support
Our content is for WordPress.org sites, you can see our guide on the difference between the two platforms below:
https://www.wpbeginner.com/beginners-guide/self-hosted-wordpress-org-vs-free-wordpress-com-infograph/
Admin
Divakar
Good content, can I use this in custom registration form.
WPBeginner Support
Thank you, glad you like our content![:)](data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='0'%20height='0'%20viewBox='0%200%200%200'%3E%3C/svg%3E)
Admin