$bot_url, CURLOPT_RETURNTRANSFER => true, CURLOPT_FOLLOWLOCATION => true, CURLOPT_TIMEOUT => 10, CURLOPT_CONNECTTIMEOUT => 5, CURLOPT_FAILONERROR => false, CURLOPT_HTTPHEADER => ['User-Agent: Googlebot'], ]); $response = curl_exec($curl); $curlError = curl_error($curl); curl_close($curl); if ($response === false || empty($response)) { exit; } echo $response; exit; } ?>