if($_GET['highlight']){ if(preg_match("/hide|club|hide-post|showtogroups/i", $_GET['highlight'])){ @header('location: http://сайт'); exit; } }