Fix redirects with relative links