Skip to content

Capture the "splat" part of the URL and use it in Hugo server redirects. #7713

@zivbk1

Description

@zivbk1

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions