Skip to content

Kirby 5.0.4

Header::redirect()

Sends a redirect header

Header::redirect(string $url, int $code = 302, bool $send = true): string|void

Parameters

Name Type Default
$urlrequired string no default value
$code int 302
$send bool true

Parent class

Kirby\Http\Header