Rewrite query to other url?

@site {
    query author=*
}
redir @site /

How do you change to a single line of code?

With Caddy v2.1 the best you can do is two lines:

@site query author=*
redir @site /