I’m making an asset redirect for my site using the _redirects file.
/asset?id=* http://example.com/asset/:splat 302
What I want to do here is get the output of a parameter, and then use it in the secondary url. For example, this is the original url.
and it redirects to
However, instead when I attempt to do this, it redirects to this instead:
Which causes a 404.
Is there any way to work around this? Apparently “Query Parameters” are not supported yet, so a workaround would be nice to know.
The application I am developing around requires the ?id= parameter to properly function. I cannot remove it.