Pageview content restriction

Restricts access to your WordPress site after a certain number of pageviews.

Author:Ulrike Uhlig (profile at wordpress.org)
WordPress version required:3.8
WordPress version tested:4.2.4
Plugin version:1.0
Added to WordPress repository:18-04-2014
Last updated:08-08-2015
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:0
Rated by:0
Plugin URI:http://curlybracket.net/2014/04/15/pageview-c...
Total downloads:1 302
Active installs:10+
plugin download
Click to start download

This WordPress plugin restricts non-authenticated users to a number of pages to view. You can define how many pages an unauthenticated user may view. If the limit is reached, the user is redirected to the WordPress login page (default) or a page of your choice.

This plugin uses cookies, but not only. People can not just empty their cookies and start watching your page again. In this plugin i use a technique in which I combine a users’ IP address with the user agent of this particular user, and create a more or less unique hash out of these two informations. This hash is stored as a file in the wp-content/uploads directory.

A site administrator can choose to reinitialize all sessions and empty the hash files.

Furthermore, robots might be blocked. However, important bots like GoogleBot, BingBot and YahooBot are excluded from the restriction.

This technique might be problematic for users using Tor / TorBrowserBundle as lots of people share a same originating IP address and also the same user agent (check here https://panopticlick.eff.org/). I will certainly test this aspect a little better in a later version of this plugin.


ChangeLog