Fixing relative redirects