header() location returns forbidden

my index.php in quso.epizy.com/index.php always returns forbidden.

<?php require_once 'config.php'; require_once 'vendor/libs/functions.php'; redirect(URL . 'home'); // redirect to authenticate page // this line cause error why is that?

just for your information. this is my redirect function.

function redirect($url, $permanent = false) {
if($permanent) {
header(‘HTTP/1.1 301 Moved Permanently’);
}
header('Location: '.$url);
exit();
}

I’d be happy to check this for you, but I can’t do so if you remove all domains from the account before giving me the opportunity to look into it.