|-
| width='120' | '''Signatures'''
|{{Func|web:redirect|$location as xs:string|element(rest:response)}}<br/>{{Func|web:redirect|$location as xs:string, $parameters as map(*)|element(rest:response)}}<br/>
|-
| '''Summary'''
|Creates a [[RESTXQ#Forwards and Redirects|RESTXQ redirection]] to the specified location. Redirects The returned response will only work if no other items are returnedby the RESTXQ function.<br/>If <code>$parameters</code> are specified, they will be appended as query parameters to the URL as described for [[#web:create-url|web:create-url]].
|-
| '''Examples'''