/members/
if(preg_match("/\/members\//", $_SERVER["REQUEST_URI"])){
header("Location: http://example.com/you-cannot-view-this-content");
exit();
}
header("Location: http://example.com/you-cannot-view-this-content");
Statistics: Posted by Jason Caldwell — August 31st, 2010, 6:57 pm
Statistics: Posted by micb11 — August 31st, 2010, 4:42 am
if(is_singular() && in_category("green-grapes))
if((is_category("cobham") || (is_singular() && in_category("cobham"))) && !current_user_can("access_s2member_ccap_cobham"))
{
header("Location: /you-cannot-view-this-content");
exit();
}
Statistics: Posted by Jason Caldwell — August 30th, 2010, 9:37 am
Statistics: Posted by micb11 — August 28th, 2010, 8:10 am