Issue
I know that in a php script:
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
will follow redirects. Is there a way to follow redirects with command line cURL?
Solution
Use the location header flag:
curl -L <URL>
Answered By - Nathan Kuchta Answer Checked By - Candace Johnson (WPSolving Volunteer)