wp-admin redirects to 404

One possible reason is that the /wp-admin has been reset to something else, for security reasons. The WP Better Security plugin can do this. I know, because I have in the past turned on a bunch of this plugin’s options, without thinking too much about it, including the one that re-writes the /wp-admin URL so you need to go to /admin. — And then I forgot about it too, which was frustrating!

Try moving all the plugins out of wp-content/plugins (to turn them off temporarily), then see if it works normally. Then, you can selectively re-turn-on the plugins and see what’s going on.

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