Redirect WP 404 to html

It looks like you have it:

ErrorDocument 404 http://domain.com/custom_404.php

You just have to create the static 404 page called custom_404.php in your child theme or the root of your domain. Child theme would be:

http://domain.com/wp-content/themes/child_theme/custom_404.php

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)