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.

Main features:

  • 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.

Installation

Please see the README.txt document included with the module for installation instructions.

Support Status

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.

Authors

Principal author is Khalid Baheyeldin of 2bits.com.

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.

Project Information

Downloads