Curl Follow Redirects

curl -L https://example.com
-L, --location      Follow redirects