WordPress.org

Ready to get started?Download WordPress

Forums

Admin-Ajax Error (7 posts)

  1. Hiraeth
    Member
    Posted 6 years ago #

    When I try to add categories or to delete the default post in WordPress. I get this message ...

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

    ----------------------------------------------------------

    Apache/1.3.37 Server at http://www.teresaconner.com Port 80

    Help?!

  2. whooami
    Member
    Posted 6 years ago #

    youre going to need to disable mod_security.

    if you do not have an .htaccess in your wp-admin/ directory:

    create a text file on your desktop:

    put the following inside it:

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

    name it whatever you like and save the file.

    Upload the file to your wp-admin directory.

    Rename the uploaded file to .htaccess (with the .)

    If you do have an .htaccess in your wp-admin/ directory:

    Edit it and add:

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

    --

    there are cases where that might not work -- for instance, mod_security was recently changed so you might need a different little snippit of code. if this doesnt work, just post back.

    and be careful with your edits, obviously.

  3. IvoryTower79
    Member
    Posted 6 years ago #

    I've tried this code in the .htaccess and it's not working. any other suggestions? I keep getting this error message when trying to create a new category.

    Not Found

    The requested URL /wordpress/wp-admin/admin-ajax.php was not found on this server.

  4. whooami
    Member
    Posted 6 years ago #

    thats not the same error as the original poster was reporting. you are missing a file.. look at the error, read it, then make sure the file mentioned exists in that location.

  5. nettness
    Member
    Posted 6 years ago #

    I'm getting the same error as above:

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

    Tried the .htaccess fix, but unfortunately it seemed to take the whole admin area down instead of allowing the edits. I'm running version 2.3.1 if that is at all helpful?

  6. doulos
    Member
    Posted 6 years ago #

    I also tried .htaccess thing but it is not working I am getting this error. Help is appreciated

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

    Apache/1.3.39 Server at yesubhaktas.com Port 80

  7. boplaster
    Member
    Posted 6 years ago #

    I had the same problem and to fix it add the following to the .htaccess file:

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

Topic Closed

This topic has been closed to new replies.

About this Topic