This module allows the site admin to create custom error pages for HTTP status codes 403 (access denied) and 404 (not found), without the need to create nodes for each of them.
- Configurable page title and descriptions.
- There are no author and date/time headers as with normal nodes.
- Any HTML formatted text can be be put in the page body.
- The error pages are themable.
- Users who are not logged in and try to access an area that requires login will be redirected to the page they were trying to access after they login.
- Allows custom redirects for 404s.
Since the error pages are not real nodes, they do not have a specific content type, and will not show up in node listings, or in a Popular Content block.
At present, the module can be set up to handle 403 and 404 errors. Drupal only allows those two status codes to be assigned custom pages. However, the design of the module is flexible and can accommodate future status codes easily.
Please see the README.txt document included with the module for installation instructions.
Custom error alternate for authenticated
The project comes with a submodule: Custom error alternate for authenticated (Short name:
Enabling this submodule lets the administrator create an "insufficient permissions" page for authenticated users, distinct from a "please log in" page for anonymous users.
This project is considered complete. However, reported bugs for the Drupal 7 branch will be fixed in a timely manner. Bugs in the issue queue for the Drupal 6 branch will only be fixed if accompanied with patches. Older versions are no longer supported. Community support in the form of patches are very welcome for both Drupal 6 and Drupal 7 versions, and will be given priority. For QA, the project needs community support in the form of review of patches, development versions and releases.
The primary goal of the CustomError module is to remain lean and simple. This means that not all feature requests will be implemented, even if they are a good idea. Feature requests accompanied by patches are more likely to make it into a release.
The maintainer hopes that the community is willing to help out by answering & closing support requests.
- CustomError lets you assign an explicit theme to use for error pages. However, for Drupal 7, if you also use a custom Administration theme, the custom administration theme will be used for error pages that are on the admin path. See for details. This problem is not present in the Drupal 6 version.
- CustomError allows custom redirects for 404s. However, if you also use the Redirect module, you should refrain from using the redirect feature of CustomError.
Port to Drupal 7 port has been overseen by Gisle Hannemyr.
The authors can be contacted for paid customizations of this module as well as Drupal consulting, installation, development, and customizations.
- Maintenance status: Actively maintained
- Development status: Maintenance fixes only
- Module categories: Administration, User Access & Authentication
- Reported installs: 9,476 sites currently report using this module. View usage statistics.
- Downloads: 72,040
- Last modified: March 18, 2015
- Stable releases receive coverage from the Drupal Security Team.
Look for the shield icon below.