$blocklink = ['forum.topic32867253.darodar.com / referral', 'semalt.semalt.com / referral'];foreach ($blocklink as $value) {if ($_SERVER['HTTP_REFERRER'] == $value)header('Location: http://www.google.com.tr/');}