Fix custom domain redirects