Arvil Meña
Home / Snippets / Curl – Follow and output redirect for debugging .htaccess

Curl – Follow and output redirect for debugging .htaccess

by Arvil
last updated => April 13th 2020 published => July 17th 2018

Use cases

In case you need to debug your browser’s message regarding “TOO MANY REDIRECTS”

curl -sSL -D - <url> | grep Location
(source)

Related Links

  • Stackoverflow - Getting only response header from HTTP POST using curl

Share

Related Posts

Comments