curl_setopt($curl_instance, CURLOPT_FOLLOWLOCATION, true);
cURL ayarları arasına bu kodu ekleyip dener misiniz?