Handle http to https redirect (and other redirect..)
-
Hello,
I just saw that if we gave an HTTP URL to the shortcode and the target web server redirects on HTTPS, the shortcode won’t display anything…
I would suggest to add this line to your CURL request.
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);Regards
The topic ‘Handle http to https redirect (and other redirect..)’ is closed to new replies.