Curl follows redirects if piwik url is not exactly right