Curl Suivez Redirection PHP

// follow redirects automatically (HTTP status 301, 302 and the like)
curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true);
TechNyquist