Append request parameter to redirect url - site.yaml setting

Hello again,
I have a requirement to redirect from
/def/ghi?req=123
to
/xyz/ghi?req=123

How can I do this in my site.yaml by retaining the request parameter as is? I have tried out some options myself but couldnt accomplish it. Does GRAV support this sought of option?

I’m afraid the parameters are not considered in a redirect. You can still do that through .htaccess