I have this URL to which I'm trying to redirected the page: http://www.hotukdeals.com/visit?m=1650&q=1542029
I already tried:
$ch1 = curl_init("http://www.hotukdeals.com/visit?m=1650&q=1542029");
curl_setopt($ch1, CURLOPT_FOLLOWLOCATION, TRUE);
curl_setopt($ch1, CURLOPT_NOBODY, TRUE);
curl_exec($ch1);
$curl_url = curl_getinfo($ch1, CURLINFO_EFFECTIVE_URL);
echo $curl_url;
I'm getting this response, which is the same URL:
How can I get this to work?
Thank you.