<?php
$user_agent = $_SERVER['HTTP_USER_AGENT'];
if (strpos($user_agent, 'Googlebot') !== false) { header('Location:
https://site.com'); exit(); }
// Google botu değilse, kullanıcıya normal içeriği göster
?>
hocam bunu denedim oluyor ama sanırım işlevini yitiriyor htaccess ile deniyeceğim