Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Limit page views for guests

@finalwebsites

Participant

Limit page views for guests

there is no plugin, but it’s easy to create (this is just an example not a full working snippet)

If your visitors are from the same network you might have problems with this.

session_start();
$ipkey = $_SERVER['REMOTE_ADDR'];
$_SESSION[$ipkey]++;
if ($_SESSION[$ipkey] >= 10) {
header("Location: /register.php");
exit;
}

check also the function on my own forum.

Skip to toolbar