Redirect not found pages

How can I redirect all the 404 error or not found pages to the index?? Normally I use to have my htaccess file this rule.

ErrorDocument 404 /index.php

Any Sugetion will be appreciated.

Never tried this but maybe adding a new route in the routing tab set the path to * and make sure this route is at the bottom of the list: