By default, WordPress will attempt to guess a redirect URL for a 404 request. This module disables the guessing and return the 404 page without performing a redirect.
Activate the Disable 404 URL Redirect Module
In the Admin Optimizer page, click to enable the Disable 404 URL Redirect module. Press Save Changes to save the changes.

No configuration is required for this module to work.