• Resolved Jeffro

    (@jeffr0)


    Whenever I click on the PRESS IT bookmarklet, I receive a 406 Not Acceptable Error which states the following:

    Not Acceptable
    An appropriate representation of the requested resource /wp-admin/post-new.php could not be found on this server.

    I have tried uploading a fresh copy of post-new.php but that didn’t work. Does anyone else have any suggestions as to how I could get the bookmarklet to function?

Viewing 10 replies - 1 through 10 (of 10 total)
  • create an empty text file.

    put this in it:

    <IfModule mod_security.c>
    SecFilterEngine Off
    </IfModule>

    Save the file and upload it to your wp-admin/ directory.

    Rename it to .htaccess (with the .)

    See if that helps.

    Thread Starter Jeffro

    (@jeffr0)

    I downloaded my original .htaccess file and placed the code you gave me into it and reuploaded the file and that seems to have solved the problem.

    What did adding this text to the .htaccess file do to allow me access to the bookmarklet?

    Because you have disabled mod_security

    406 errors are almost always related to mod_security when they’re seen in WP installs..

    Hi, I have this problem too (406 error)
    I write the .htaccess file and put it on wp-admin directory, now if I go to https://blog addres/wp-admin directory WP give me 404 error!
    WP version is 2.3.3

    thank you

    You’re not supposed to put the .htaccess file in your wp-admin directory, you’re supposed to put it at the root of your WP install (i.e. where the regular .htaccess file is for pretty permalinks).

    Wrong. Read the thread again.

    I encountered the 406 error last night on two websites. I mistakenly thought it was an issue with a specific plugin, and searched the WordPress forums for a solution.

    I contacted my web host and discovered that their Suhosin security extension for PHP was too restrictive. The host reconfigured the settings for suhosin, and my site is working again, without any issue.

    My recommendation: contact your host to find out if they have made any server changes.

    My host, out of the blue, has implemented heavy security on PHP, and therefore, simply dragging out widgets from the sidebar generates the 406 Not Allowed error!
    I’ve futzed around with the .htaccess file to no avail, both in my root (/public_html) as well as the /wp-admin dirs.
    Adding the SecFilterEngine OFF command is NOT working for me.

    My host tells me he cannot lift any mod_security setting from my dirs without compromising the whole server.
    I really do not want to have to change hosts.
    I’m not sure he knows what he’s doing that affects some very basic WordPress functions!

    Interesting. When I contacted my host, they admitted it was a security issue, and made the change for my two WordPress sites. They said they can individually modify settings as needed.

    Ok, first of all: thank you, because this worked for me. Second: does this compromise security?

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘406 Not Acceptable Error’ is closed to new replies.