It’s today I was trying to do a wordpress admin login to one of my clients wordpress powered websites admin area, I was redirecting to a 404 page called http://x.x.x.x/404.html page!
It’s something like when I try to login on http://domain.com/wp-login.php?redirect_to=http%3A%2F%2Fdomain.com%2Fwp-admin%2F&reauth=1 after have submitted the login form it’s redirecting me on a http://x.x.x.x/404.html page.
To fix it I had a look on it’s database and all seems fine. Then tried some google and found a solution called renaming the .htaccess
So I was trying again after renaming my .htaccess and It works property.
After that I have some review on it’s .htaccess and found some conditional misplacement and then I fixed it and renamed the .htaccess again and then it also works!
However, The point was may be my client or someone else modified the .htaccess for his shop rules or somehow it has been modified by any other plguins.
Just to note it if you got something like this 404 while wordpress admin login you can first check the .htaccess
That is why I wrote it!