_redirect

Header redirect to a specific location

Parameters
string $path = null

Routing path such as "foo/bar"; null for the current path

#
array $queryStr = []

Query string as

#
string $lang = ''

The Language code to be prepended to $path such as "en/foo/bar". It will be useful for site language switch redirect

#
int $status = null

The HTTP status code use _redirect301() instead; do not provide this for default 302 redirect.

#
Returns
void