Daily Archives: 11 August 2008

HTTP status code for 404 – page not found in Joomla!

In case you are setting an error.php page in Joomla! to customise the “404 Page Not Found” error page, remember to add the following lines in your your template index.php page, before the DOCTYPE line: if($this->error->code = ‘404’){ header(“HTTP/1.0 404 Not Found”); } ?> The reason is that when a request is made for a […]