How can I find where I will be redirected using cURL?

Posted by Prem Tiwari | Updated on

If you just want to find out where a page redirects to, I’d use the advice here, and just use Curl to grab the headers and extract the Location: header from them:

If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@] Your question and answer will appear on and help other developers.

Related Questions & Answers