Title: .htaccess not writeable
Last modified: June 8, 2021

---

# .htaccess not writeable

 *  Resolved [kikaweb](https://wordpress.org/support/users/kikaweb/)
 * (@kikaweb)
 * [5 years ago](https://wordpress.org/support/topic/htaccess-not-writeable/)
 * Hello,
    I’ve installed your plug-in on several websites, without a problem. Actually,
   it is one of the few plug-ins I install on every WordPress install. On one particular
   site, however, all of a sudden, I got a warning from another plug-in (W3C Total
   Cache) the htaccess couldn’t be modified. As a matter of fact, my htaccess permissions
   were set to 444. If I change the permission to 644, after less than a minute 
   it reverts to 444. At first I thought my site had been hacked, since I know of
   at least one kind of attack that sets htaccess permission to 444. But after several
   Wordfence scans and inspecting a local copy of my install, I’m pretty sure that
   wasn’t the case. I tried to deactivate every plug-in and re-activate them one
   by one, and the plug-in causing the problem was indeed “Disable XML-RPC-API”.
   Honestly, I don’t know why it happens only on this install – I have 3 websites
   on the same shared server, and the respective htaccess are not giving me any 
   trouble. Do you have any hint about what could cause this problem? Any known 
   incompatibility. Thanks in advance.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Amin Nazemi](https://wordpress.org/support/users/aminnz/)
 * (@aminnz)
 * [5 years ago](https://wordpress.org/support/topic/htaccess-not-writeable/#post-14545922)
 * Hello, [@kikaweb](https://wordpress.org/support/users/kikaweb/)
    This plugin 
   is changing your “htaccess” file permission to READ-ONLY (0444) to secure your
   website. If you have a problem with other plugins disable “Disable XML-RPC-API”
   plugin and let other plugins add their code then enable the plugin again. If 
   you keep the “htaccess” file permission to 644 you can have a security breach.

Viewing 1 replies (of 1 total)

The topic ‘.htaccess not writeable’ is closed to new replies.

 * ![](https://ps.w.org/disable-xml-rpc-api/assets/icon-256x256.png?rev=2391445)
 * [Disable XML-RPC-API](https://wordpress.org/plugins/disable-xml-rpc-api/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/disable-xml-rpc-api/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/disable-xml-rpc-api/)
 * [Active Topics](https://wordpress.org/support/plugin/disable-xml-rpc-api/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/disable-xml-rpc-api/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/disable-xml-rpc-api/reviews/)

## Tags

 * [htaccess](https://wordpress.org/support/topic-tag/htaccess/)

 * 1 reply
 * 2 participants
 * Last reply from: [Amin Nazemi](https://wordpress.org/support/users/aminnz/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/htaccess-not-writeable/#post-14545922)
 * Status: resolved