Force 404

— SUMMARY —

Any non-existant URL containing a valid parent path loads the parent page
returning a 200 instead of a 404. See https://www.drupal.org/node/432384. While
solved for Drupal 8 it is still an issue for Drupal 7. This module checks on
node pages (aliased or not) if the current URL is a “known” router item using
menu_get_item(). If not it returns a 404.


Source: https://drupal.org/project/project_module/feed/all