Title: Error
Last modified: August 22, 2016

---

# Error

 *  Resolved [Tim McGuinness](https://wordpress.org/support/users/perfectreputationsnowadmin/)
 * (@perfectreputationsnowadmin)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/error-507/)
 * This is happening on some sites, but not all
 * Warning: file_put_contents(/homepages/43/d429974702/htdocs/amazingmiamipools/.
   htaccess): failed to open stream: Permission denied in /homepages/43/d429974702/
   htdocs/amazingmiamipools/wp-content/plugins/bulletproof-security/includes/functions.
   php on line 1933
 * Happened starting in late January
 * Current version installed: Version .51.4
 * Have deleted plugin folder and reinstalled, does not solve problem.
 * Looks similar to other problem shown, but not assuming is the same.
 * Please advise
 * [https://wordpress.org/plugins/bulletproof-security/](https://wordpress.org/plugins/bulletproof-security/)

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

 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/error-507/#post-5766164)
 * This simply means that the default WordPress Rewrite code was found in your root
   htaccess file, but your root htaccess file is locked so the mistake cannot be
   automatically fixed by BPS. At some point we will automatically unlock the root
   htaccess file, fix this mistake and lock the root htaccess file again.
 * Do these steps to solve the issue:
    1. Unlock your root htaccess file on the 
   htaccess File Editor tab page. 2. Go to BPS Custom Code and delete the default
   WordPress Rewrite code (shown below) if it exists in any of the BPS Custom Code
   text boxes. 3. Click the Save Root Custom Code button. 4. Go to the BPS Security
   Modes page, click the Create secure.htaccess File AutoMagic button and activate
   Root folder BulletProof Mode.
 *     ```
       # BEGIN WordPress
       <IfModule mod_rewrite.c>
       RewriteEngine On
       RewriteBase /
       RewriteRule ^index\.php$ - [L]
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteRule . /index.php [L]
       </IfModule>
       # END WordPress
       ```
   
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/error-507/#post-5766394)
 * Assuming all questions have been answered – thread has been resolved. If you 
   have additional questions about this specific thread topic then you can post 
   them at any time. We still receive email notifications when threads have been
   resolved.
 * Thread Start Date: 2-8-2015
    Thread Resolved/Current Date: 2-10-2015
 *  Thread Starter [Tim McGuinness](https://wordpress.org/support/users/perfectreputationsnowadmin/)
 * (@perfectreputationsnowadmin)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/error-507/#post-5766544)
 * Problem was solved by deleting the .htaccess file, and rebuilding it using your
   tool.
 * Nice try on the interface cleanup, but it is still terrible.
 * If the majority of your users are turning on everything, just make it one button.
   That’s what we do on our 1and1 host. We don’t need a million option, so keep 
   them if someone really needs them, but take a lesson from ithemes’ security interface.
 *  Plugin Author [AITpro](https://wordpress.org/support/users/aitpro/)
 * (@aitpro)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/error-507/#post-5766545)
 * We would be foolish to think that everyone will be happy with all of the visual
   option choices in BPS (UI Theme Skins and other visual things) or other options
   or things in general. You shoot for maximum appeal to the widest possible audience
   and understand that 100% appeal is never going to happen with anything – anywhere
   in the 90% to 99% range is fine by us. 😉 We looked at the ithemes interface,
   but ironically to us it is less logical/functional overall and not appealing 
   to any of us. 😉 oh well some people like X, some people like Y and some people
   like Z – just how it is.

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

The topic ‘Error’ 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/)

## Tags

 * [bugs](https://wordpress.org/support/topic-tag/bugs/)
 * [php-error](https://wordpress.org/support/topic-tag/php-error/)

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