Open zivbk1 opened 3 years ago
There was a comment on the Hugo forum which is more about the syntax than the feature, but I thought it would be good to mention it here.
It’s probably better to go away from that and make the proposal about a proper redirect command that is able to redirect (.*) by using $1 like the Apache config has.
Also see my comment re the same...
I started on the forum: https://discourse.gohugo.io/t/can-splat-be-used-in-hugo-server-redirects-config/28292 Found out it is not possible to use a 'splat' variable to append the remaining part of the URL in a redirect.
It would be nice to have similar functionality in the server redirect feature as I use for Netlify redirects. https://docs.netlify.com/routing/redirects/redirect-options/#splats