Summary
There is no way to inject the forwarded value into an arbitrary position of the long URL — in particular, into the middle of an existing query-param value.
I'd like to propose optional templated long URLs, closely modeled on how Tailscale's golink handles this.
Use case
Consider a destination where a variable segment must live inside an existing query-param value, alongside fixed content:
https://example.com/search?q=fixed-prefix+SOMETHING
I want a single short URL such that visiting:
https://exam.ple/s/whatever-the-user-typed
redirects to:
https://example.com/search?q=fixed-prefix+whatever-the-user-typed
Summary
There is no way to inject the forwarded value into an arbitrary position of the long URL — in particular, into the middle of an existing query-param value.
I'd like to propose optional templated long URLs, closely modeled on how Tailscale's golink handles this.
Use case
Consider a destination where a variable segment must live inside an existing query-param value, alongside fixed content:
I want a single short URL such that visiting:
redirects to: