curl --silent -I $URL | grep -i location