It's the small touches to a website that can often make the difference between a poorly designed website and a well-designed website. One such small touch is to provide a customized error page that is displayed when a visitor to your website attempts to view a page on your website that doesn't exist.
error.php file in the
templates\system directory into your template's directory. For this example, we'll copy it into the
templates\rhuk_milkyway directory. This technique is known as template overriding in Joomla!.
Visually, we're aiming to create something that looks a little like this:
At the moment, our error page's file looks like this:
<!DOCTYPE html PUBLIC "-//W3C//DTD ...