Creating Custom Joomla Error pages
Written by Lisa | 03.06.10
To maintain design consistency, I like to style the Error pages to match the rest of the website.
Joomla install includes a folder called system, within the template folder, in which the layout and CSS files for error pages live.
Joomla's error.php handles:
- 403 Forbidden
- 404 Not Found
- 500 Internal Server
In the Global Config, a website can be put offline at any time. When this is the case, offline.php displays the website logo, and a login form.

To override these pages, the relevant files from templates/system/ should be copied to the current template folder.
- error.php
- css/error.css
- offline.php
- css/offline.css
The link to the CSS must change in the php files, to reflect the new location.
<link rel="stylesheet" href="/<?php echo $this->baseurl; ?>/templates/your_template/css/error.css" type="text/css" />

