Can’t access wp-admin, redirects to http://%24domain/wp-admin/

first of all you shouldnt delete .htaccess file. create another one in the root directory and add following lines to it:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress

then go to wp-config.php and add these lines:

define( 'WP_HOME', 'http://youresite.com' );
define( 'WP_SITEURL', 'http://youresite.com' );

now go to wp-admin and hopefully youre redirect problem will be fixed.

dont forget to remove last code from wp-config after fixing youre issue.

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