Redirect to custom URL in Pages

I’ve created a GitLab Pages site and successfully tied it to a custom domain. Yay!

But now the [user].gitlab.io/[project] URL is still active, although the site doesn’t load correctly there because Jekyll is now set up to use the custom URL.

Is there any way to get GitLab Pages to do a wildcard redirect to the custom domain? Or does anyone have a suggested wildcard redirect method compatible with Jekyll?

1 Like

Having the same problem. So far, I did not find any way to do this.

The redirects help page says Domain-level redirects are not possible. Is this true?