What are they running on?
If you are sure you need to create client-side redirects…
git clone --single-branch -b hugo-forum-topic-56758 https://github.com/jmooring/hugo-testing hugo-forum-topic-56758
cd hugo-forum-topic-56758
rm -rf public/ && hugo server
Files of interest:
layouts/home.html(lines 16-18)layouts/_partials/generate-client-side-redirect-files.htmldata/redirects_from_root.yaml
The data file should only contain source/destination pairs where the source URL is server-relative (e.g., redirecting from https://example.org/foo/ to https://example.org/en/examples/a/). Or you can define all of the redirects in the data file, and stop using the aliases front matter field.