403 to 404

Component ID

1926454

Component name

403 to 404

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

39355

Component created

Component changed

Component body

403 to 404 is a simple module that emits a 404 error when a user tries to access a page that they don't have permission to view.

Drupal 7

Install this module like any other module and set the 403 page path to m4032404. You configure the module via one of the following methods:

  • Run drush vset --exact -y site_403 m4032404
  • Set $conf['site_403'] = 'm4032404'; in your settings.php
  • Default 403 in admin/config/system/site-information to m4032404

This module is designed to do one thing, and one thing only. Don't expect anything fancy.

Drupal 8

m4032404 now supports Drupal 8 too.