Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
If any node url is accessed which is non-existent with Fast_404 module enabled with this setting on -
$settings['fast404_path_check'] = TRUE,
http://site_url/node/some_random_nid, (http://test.com/node/111111)
then Fast_404 doesn't work here. It loads theme for the site and drupal's default 404 is shown and not Fast_404's page.
Note - In this scenario, pathauto module is disabled.
Comments
Comment #2
gun_dose CreditAttribution: gun_dose commentedThe same situation in 7-x version
Comment #3
sonnyktThe patch from this issue https://www.drupal.org/project/fast_404/issues/2930381 could solve it.
Comment #4
gg4 CreditAttribution: gg4 commented@sonnnykt, #2930381: Subscribe to NotFoundHttpException event solves this in a different way, but I think that might be preferable to doing the
node/:id
check inFast404::pathCheck()
as this issues is reporting. Will leave this open to see if others want to weigh in.Comment #5
hanoiiI am also interested in a fix for this for d7. I am surprised not to have found another issue mentioning this.
Comment #6
gg4 CreditAttribution: gg4 commentedComment #7
gg4 CreditAttribution: gg4 commented