Make tail url relative.