Adjust redirects to fix other functions