Title: Error &quot;Not Acceptable!&quot;
Last modified: August 22, 2016

---

# Error "Not Acceptable!"

 *  Resolved [rishard](https://wordpress.org/support/users/rishard/)
 * (@rishard)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/error-not-acceptable-1/)
 * Hello.
    I don’t can enter in admin area today:
 * > Not Acceptable!
    > An appropriate representation of the requested resource 
   could not be found on this server. This error was generated by Mod_Security.
 * I use BULLETPROOF .51.7. Help please. what should i do?
 * [https://wordpress.org/plugins/bulletproof-security/](https://wordpress.org/plugins/bulletproof-security/)

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

 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/error-not-acceptable-1/#post-5890509)
 * The Mod_Security error indicates that Mod_Security does not like some code in
   the BPS root .htaccess file. Your server log file have a log entry of exactly
   what Mod_Security is not liking. Contact your web host and ask them exactly what
   Mod_Security SecRule or SecFilter in Mod_Security is causing the problem.
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/error-not-acceptable-1/#post-5890590)
 * Did you or your web host find the Mod_Security problem?
 * Thread Start Date: 3-12-2015
    Current Date: 3-13-2015
 *  Thread Starter [rishard](https://wordpress.org/support/users/rishard/)
 * (@rishard)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/error-not-acceptable-1/#post-5890591)
 * I wrote in a support Hostgator, it is my hoster. They are silent for two days.
   I’m surprised, really … I can turn off the mod_security, but it is not best solution.
 *  Thread Starter [rishard](https://wordpress.org/support/users/rishard/)
 * (@rishard)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/error-not-acceptable-1/#post-5890592)
 * Joomla works.
    [http://masterpro.ws/administrator/](http://masterpro.ws/administrator/)
   But I can not log into wordpress. [http://blog.masterpro.ws/wp-login.php](http://blog.masterpro.ws/wp-login.php)
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/error-not-acceptable-1/#post-5890596)
 * Yep, I agree that you would want to keep using mod_security and find exactly 
   which mod_security SecRule or SecFilter is the problem or you can remove/modify
   BPS security code. The key is looking at your server logs to find exactly what
   mod_security does not like. mod_security error entries are very detailed and 
   usually have the exact line of code that mod_security does not like. It is possible
   to turn off individual mod_security rules with .htaccess code IF the host server
   allows you to do that.
 * Are you using any BPS Bonus Custom Code in the BPS Custom Code text boxes?
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/error-not-acceptable-1/#post-5890597)
 * What happens when you do these troubleshooting steps below? Can you login to 
   the site?
 * [https://wordpress.org/support/topic/setup-stepstroubleshooting-stepsremoval-stepsrequirementscompatibility?replies=1](https://wordpress.org/support/topic/setup-stepstroubleshooting-stepsremoval-stepsrequirementscompatibility?replies=1)
 * > htaccess Core htaccess Files removal steps:
   >  1. Select the Deactivate Root 
   > Folder BulletProof Mode (Default Mode) Radio button on the Security Modes page.
   > 2. Select the Deactivate wp-admin Folder BulletProof Mode Radio button on the
   > Security Modes page. 3. Deactivate and delete the BPS plugin on the WordPress
   > Plugins page. 4. Go to WordPress Settings >>> Permalinks and resave your Permalink
   > Settings.
   > htaccess file troubleshooting steps: Unable to login into your website:
   >  1.
   > Use FTP or your Web Host Control Panel File Manager and delete the .htaccess
   > file in your website root folder and the .htaccess file in your wp-admin folder.
   > 2. Log into your website, click the BPS AutoMagic Buttons and Activate all 
   > BulletProof Modes. Or if you are removing BPS do steps 3 and 4 under BPS removal
   > steps.
 *  Thread Starter [rishard](https://wordpress.org/support/users/rishard/)
 * (@rishard)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/error-not-acceptable-1/#post-5890598)
 * > Are you using any BPS Bonus Custom Code in the BPS Custom Code text boxes?
 * No.
 * > What happens when you do these troubleshooting steps below? Can you login to
   > the site?
 * I did it:
    1. Use FTP or your Web Host Control Panel File Manager and delete 
   the .htaccess file in your website root folder and the .htaccess file in your
   wp-admin folder.
 * Amazing… I still can not login:
 * Not Acceptable!
    An appropriate representation of the requested resource could
   not be found on this server. This error was generated by Mod_Security.
 * This means the problem is not in the BPS… thanks for you answers, AITpro.
 * P.S. What happened on Hostgator … it’s always been a great hosting. 🙁
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/error-not-acceptable-1/#post-5890601)
 * hmm ok the most likely cause is that the Joomla root site: masterpro.ws has an
   htaccess file in that folder and since htaccess files are hierarchical/recursive
   then the rules from that parent htaccess file are being applied to the child 
   subdomain folder: /blog/
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/error-not-acceptable-1/#post-5890603)
 * If the Joomla site does have an htaccess file and that is the cause of the problem
   then you can use the basic information in this forum topic to not have any .htaccess
   rules or code applied to the /blog child site. I cannot provide a specific answer
   and can only offer a general idea of what to do.
 * [http://forum.ait-pro.com/forums/topic/htaccess-files-for-multiple-website-domains/](http://forum.ait-pro.com/forums/topic/htaccess-files-for-multiple-website-domains/)
 *     ```
       # Do not apply rules to other child websites &
       # do not log errors for these child sites
       RewriteRule ^blog/ - [L]
       ```
   
 *  [flyfisher842](https://wordpress.org/support/users/flyfisher842/)
 * (@flyfisher842)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/error-not-acceptable-1/#post-5890627)
 * And some ladies I know think Hostgator is still so great. Hopefully Hostgator,
   Hostmonster and Bluehost will get their merging and growing pains straightened
   out this year.
 *  [flyfisher842](https://wordpress.org/support/users/flyfisher842/)
 * (@flyfisher842)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/error-not-acceptable-1/#post-5890628)
 * First use the trouble shooting steps from the ait-pro forum. If none of those
   work, try the below.
 * Another option is to use ftp or cpanel to rename or delete your htaccess file.
   If you are using custom code, copy it all off to a temp file. I use wordpad for
   this.
 * Then Delete all the custom code in the custom code block, use Automagic (single
   site only or multisite as applicable. Make sure to use the right one, it does
   make a difference.) to generate a new secure htaccess file. Then activate all
   the buttons. If you are still getting mod rewrite errors, try renaming the htaccess
   in the wp-admin folder to take it out of the login sequence and see if that allows
   you to login. If you get in, the problem is code on the htaccess file in the 
   wp-admin area.
 * If you still can’t get in, you can use ftp and notepad++ to view/edit your htaccess
   files. Comment out using # in front of each line of suspected code until you 
   can login. The last one commented out before you could login is the problem. 
   While this is a long process, it should identify the bad code for you. I would
   start with the filters first.
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/error-not-acceptable-1/#post-5890629)
 * [@flyfisher842](https://wordpress.org/support/users/flyfisher842/)
    Yikes #1 –
   the wp forum rules frown on discussing web hosts so be very careful about what
   you say. Usually a WP Mod will edit your post and remove anything regarding web
   hosts that is not allowed in the WP forums. 😉
 * Yikes #2 – .htaccess files should ONLY be edited using Notepad or Notepad++ or
   another plain text ASCII editor. WordPad and Word will corrupt .htaccess code
   and add hidden/invisible formatting that will most likely cause your website 
   to crash if you use that hidden formatted .htaccess code on your website.
 * Thanks for contributing ideas and suggestions. In rishard’s case the BPS htaccess
   files were already eliminated as the cause of the problem so logically I am guessing
   that the root cause of the problem is another .htaccess file in the hosting account
   root folder that was created by a Joomla plugin or something along those lines
   anyway.
 *  Thread Starter [rishard](https://wordpress.org/support/users/rishard/)
 * (@rishard)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/error-not-acceptable-1/#post-5890630)
 * It was a challenge hostgator. Support for this hosting works worse than before.
   After two days of waiting I started to swear, and the problem was solved:
 * Tell please, why support not solved my problem?
    My companion suddenly left the
   chat. But the problem remained. Can I ask for a refund me the money? Please forgive
   me, but if a support is not able to solve the technical problem – why should 
   I pay you money?
 * Support hostgator works very poorly today. I am surprised and discouraged, it
   was a great hosting …. In Russia today is very bad hosting. I was hoping that
   in the USA it better… Thank you for your advice and this discussion.
 *  [flyfisher842](https://wordpress.org/support/users/flyfisher842/)
 * (@flyfisher842)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/error-not-acceptable-1/#post-5890633)
 * I did not say I was using wordpad to edit htaccess. You assumed that. I was using
   wordpad to temporarily store custom code deleted off the custom code boxes. I
   do know that wordpad along with word screw up most code of anything they touch.
 * I use notepad++ for actual editing of htaccess and have for years. If it makes
   you happier, use notepad to temporarily store the code.
 * If you jump my bones about hosting comments, then the same should apply to rishard.
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/error-not-acceptable-1/#post-5890634)
 * Oh ok my mistake. I thought you were saving htaccess code to WordPad and then
   reusing it. As long as you are just temporarily copying it to WordPad and not
   reusing it again or just saving it as “notes” or just deleting it then that is
   fine. More importantly I wanted to make sure that no one thinks that they can
   use WordPad for saving to reuse htaccess code or editing htaccess code. If htaccess
   code has been copied to WordPad then it is not reusable in an htaccess file and/
   or on a website.
 * I was just giving you a friendly courtesy heads up about that. It does not matter
   to me if folks say something about web hosts in the WP forums, but it does matter
   to the WP folks. So just letting you know that they do not like that. 😉

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

The topic ‘Error "Not Acceptable!"’ is closed to new replies.

 * ![](https://ps.w.org/bulletproof-security/assets/icon-128x128.png?rev=1731938)
 * [BulletProof Security](https://wordpress.org/plugins/bulletproof-security/)
 * [Support Threads](https://wordpress.org/support/plugin/bulletproof-security/)
 * [Active Topics](https://wordpress.org/support/plugin/bulletproof-security/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bulletproof-security/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bulletproof-security/reviews/)

 * 15 replies
 * 3 participants
 * Last reply from: [AITpro](https://wordpress.org/support/users/aitpro/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/error-not-acceptable-1/#post-5890634)
 * Status: resolved