Replace absolute links with relative ones.