0 votes
by (120 points)

1 Answer

0 votes
by (10.2k points)

We have explained various cause and solution in the following post
-> https://doubtsolver.com/wp-login-php-was-not-found/

Apart from that, you should check whether .htaccess has blocked access. For this, you should delete a .htaccess file (remember to backup it first) and try login. If wp-admin found, then recreate the .htaccess file with WordPress default code (see below).

# 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]
# END WordPress