Skip to content

Kirby 4.1.2

Header::redirect()

Sends a redirect header

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

Parameters

Name Type Default
$url * string
$code int 302
$send bool true

Return type

string|void

Parent class

Kirby\Http\Header