How it Works

This Add On is inspired by sites like the New York Times, which limits users to 5-10 monthly article views before redirecting users to a paywall.

This plugin sets a cookie for each visitor to track their views. The plugin’s settings page allows you to set the number of visits per “term” for non-members as well as for each membership level. It will allow visitors or members limited access to view posts they do not already have access to view. Once the user’s view limit is reached, they are redirected to the assigned page (most people select the Membership Levels page).

The plugin’s use of cookies means that (just like the NYTimes sites) it is incredibly easy to circumvent this protection by using a different computer, browsers, or incognito mode, etc. The idea is not to completely block users from your site, but to gently nudge returning readers to sign up for an account.


Installation

  1. PMPro Plus members can install the add on via the Memberships > Add Ons admin page.
  2. Or, download the plugin file and upload the ‘pmpro-limit-post-views’ directory to the ‘/wp-content/plugins/’ directory of your site.
  3. Activate the plugin through the ‘Plugins’ menu in WordPress.

Settings

  1. Navigate to Memberships > Limit Post Views
  2. From this page, you can configure the viewing limits for non-members as well as for each membership level.
  3. You can also set the “term” for viewing limits (per hour, day, week, or month).
  4. Set the page to redirect users to once the viewing limit is reached.
  5. Check the box to “Use JavaScript Redirection” if you have caching enabled on your site.

Screenshots

Limit Post Views Add On for Paid Memberships Pro


Great for SEO

This add on is also a great workaround to allow search engines “in” to index your content.

If you set post views to 1, search bots can access posts and index them. We’re working on other unique code to allow search bots to scan your full site for SEO, but until that time this is the interim solution.