404 Error Handling in Joomla

Categories Joomla
0

404 Error Handling in Joomla

Modify error.php to Redirect 404 Errors to your 404 Article

defined( ‘_JEXEC’ ) or die( ‘Restricted access’ );

if (($this->error->code) == ’404′)

{header

(‘Location: index.php’);

exit;

}

Leave a Reply

Your email address will not be published. Required fields are marked *

*


× 6 = eighteen

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>