Response::redirect()
Creates a redirect response, which will send the visitor to the given location.
Response::redirect(string $location = '/', int $code = 302): Kirby\Http\Response
Parameters
Name | Type | Default |
---|---|---|
$location | string |
'/' |
$code | int |
302 |