Title: Admin-Ajax Error
Last modified: August 18, 2016

---

# Admin-Ajax Error

 *  [hiraeth](https://wordpress.org/support/users/hiraeth/)
 * (@hiraeth)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/admin-ajax-error/)
 * 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](http://www.teresaconner.com)
   > Port 80
 * Help?!

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/admin-ajax-error/#post-619480)
 * 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.
 *  [ivorytower79](https://wordpress.org/support/users/ivorytower79/)
 * (@ivorytower79)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/admin-ajax-error/#post-619614)
 * 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.
 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [18 years, 8 months ago](https://wordpress.org/support/topic/admin-ajax-error/#post-619615)
 * 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.
 *  [nettness](https://wordpress.org/support/users/nettness/)
 * (@nettness)
 * [18 years, 6 months ago](https://wordpress.org/support/topic/admin-ajax-error/#post-619625)
 * 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?
 *  [doulos](https://wordpress.org/support/users/doulos/)
 * (@doulos)
 * [18 years, 4 months ago](https://wordpress.org/support/topic/admin-ajax-error/#post-619637)
 * 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
 *  [boplaster](https://wordpress.org/support/users/boplaster/)
 * (@boplaster)
 * [18 years, 4 months ago](https://wordpress.org/support/topic/admin-ajax-error/#post-619638)
 * 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
   >

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Admin-Ajax Error’ is closed to new replies.

## Tags

 * [admin-ajax](https://wordpress.org/support/topic-tag/admin-ajax/)
 * [mod_security](https://wordpress.org/support/topic-tag/mod_security/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 6 participants
 * Last reply from: [boplaster](https://wordpress.org/support/users/boplaster/)
 * Last activity: [18 years, 4 months ago](https://wordpress.org/support/topic/admin-ajax-error/#post-619638)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
