//temp lines forclearing console erros
$variable = $_SERVER['REQUEST_URI'];
if (str_contains($variable, '/page/')) {
$variable = substr($variable, 0, strpos($variable, "page/"));
header('Location:' . $variable);
}
?>