My .htaccess. This allows all my 404 pages to go to the redirection plugin I use. This redirects to a search page.
ErrorDocument 404 /index.php?error=404
This has been added to my wp-config file. I’m not positive it does anything yet. It should improve performance.
// Enable the WordPress Object Cache: