Removing the absolute links by relative links