August 18, 2010

Joomla and Customizing your sites 404 error pages

When a visitor comes to your site and gets a default error page: watch out! They may not stick around.

A good solution is to build a custom 404 (file not found) error page. Creating custom error pages in Joomla is a  simple template override and it can save you from loosing visitors.

Copy templates/system/error.php file into your templates/ directory.

Open this new copy and paste source code from your index.php or search.php file directly inside the file. Save it.

For more specifics check out the documentation at Joomla:  http://docs.joomla.org/Custom_error_pages.