SyntaxFix
Write A Post
Hire A Developer
Questions
I came up with the solution and posted it on my blog
http://web.archive.org/web/20130310123646/http://onlinemarketingexperts.com.au/2013/01/how-to-permanently-redirect-301-all-404-missing-pages-in-htaccess/
here is the htaccess code also
RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteRule . / [L,R=301]
but I posted other solutions on my blog too, it depends what you need really