Rewrite URL after redirecting 404 error htaccess

Looks like you’ll need to specify an ErrorDocument line in .htaccess for every error you want to redirect. You can use the following as the generic redirect script to replace with custom url.

ErrorDocument 404 /404.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^ http://www.bookyourcv.com/404.php [L,R]