[Solved] W3 Total Cache Error: FTP credentials don’t allow to write to file .htaccess

  • Reading time:2 mins read
  • Post last modified:November 23, 2020
  • Post author:
[Solved] W3 Total Cache Error: FTP credentials don’t allow to write to file .htaccess

Cache functionality is an essential for performance and SEO optimization. W3 Total Cache is my favorite plugin for caching and minifying need. Thanks to their customizability and powerful options. In this article, we’re going to solve a W3 Total Cache error related writing the .htaccess file.

This error is not an outcome of W3 Total Cache plugin, albeit this is a consequence of a Security Plugin. For example, an iTheme Security plugin has the option to deny access to core files including .htaccess, upload directory. Which might hinder the operation of dynamic websites. Whereas static websites might feel comfortable with the utmost level of security by these security plugins. However, you can manage the plugin smartly to match with your need.

W3 Total Cach error

At first time, the error may look very terrible and that’s why, some user might try to access manually to .htaccess file. It’s very time-consuming. The roots of this error in the file permission. Normally, most WordPress files have 644 level of permission. Which means the file readable by the owner, group and public, but writable only by the owner.

FileZilla-Changing File Permission

Here, you must change the file permission to 644. And what a magic, after refreshing the page there no bad notification. Everything goes smoothly.

For this, you can use cPanel or FileZilla or other FTP client. Following is the screenshot of FileZilla.

FileZilla File Permission