Replace absolute links with relative links