-
-
Notifications
You must be signed in to change notification settings - Fork 7.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Capture the "splat" part of the URL and use it in Hugo server redirects. #7713
Labels
Milestone
Comments
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.
|
Also see my comment re the same... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
The text was updated successfully, but these errors were encountered: