Followlocation true belirleyerek deneyin yonlendirme oldugu icin o bilgiyi aliyorsunuz.
curl_setopt ($ch, CURLOPT_FOLLOWLOCATION, true);
Telefondan yazdim hata olabilir

Note 2mden gönderdim