Fix weird redirection bug with my custom domain