Force 404


Any non-existant URL containing a valid parent path loads the parent page
returning a 200 instead of a 404. See 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.