This project is not covered by Drupal’s security advisory policy.

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 supports Drupal 8, Drupal 9 and Drupal 10.

Supporting organizations: 

Project information

Releases