Eliminate unnecessary redirect for badge url.