Hello,
How we can customize the 404/405 error pages? I can't find any templates of the custom page that show by default.
Code: Select all
function pageNotFound()
{
header('HTTP/1.0 404 Not Found');
die('<center><h1>Not Found</h1><a href="' . Common::urlSite() . '">Home Page</a></center>');
}
Code: Select all
function pageNotFound()
{
header('HTTP/1.0 404 Not Found');
header('Location: index.php');
}
Return to “Chameleon General Discussion”
Users browsing this forum: No registered users and 105 guests