WordPress login Not Acceptable

to start…
I have this error message when I try to login (don’t even need to fill anything and click log in, this message appears too)

 Not Acceptable

An appropriate representation of the requested resource /wp-login.php could not be found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. 

but then the page title says 406 Not Acceptable

Read More

I have search around and saw some posts with .htaccess and I tried but still can’t get it to work.

Ok how this happened was, I was using Chrome and logged in for hours doing my stuffs. But then because of some reason I had to reset password for the original user named admin. So then after password was reset, I tried to login with firefox and the error appeared. At first I thought there’s something with admin user so, since my chrome is still logged in (my own login is roled as administrator) I used my login to delete the admin user and created a new one with other name.
Then I tried with firefox again with the new name I created I saw the error. Then I used my own login and same error happened. Then I realized, I don’t have to do anything and just by pressing login this error happens.

Now I am afraid to close my Chrome because it’s still logged in and working there.

P.S. I tired adding this too

<IfModule mod_security.c>
   # Turn off mod_security filtering.
   SecFilterEngine Off

   # The below probably isn't needed, but better safe than sorry.
   SecFilterScanPOST Off
</IfModule>

in .htaccess where is located same location as wp-config and others

P.S this is getting more confusing for me. I tried using my phone and co-worker’s phone to login into wp-admin and works like nothing ever happened. But I used both of our desktop to login into wp-admin and both desktop tried firefox and chrome. Same errors.

Related posts

Leave a Reply

3 comments

  1. A) It looks to me like it is a webserver/security issue. What is the webserver you are using. I am not familiar with that output.

    B) Try to put a plain html doc in the same directory wp-config is in and access the file – just for fun to see if it will output (probably will, but maybe not).

    C) Check the permissions on the directories and files
    see https://wordpress.org/support/topic/directory-and-file-permissions

    A stupid thing to do but maybe solve the issue in a hurry is set your permissions all to 777, and see if that fixes your problem. If so, you’ll need to see the link about and figure out wordpress’s recommend permissions. I know some directories require write while others do not.

  2. When I faced the same issue I checked and changed the password database entered in the first installation form in Cpanel. The .htaccess solution described here did not work.