Trim the version before generate the URL