I’ve already asked Hostgator to address this once, which didn’t work, and am awaiting hearing from them again. Basically, I am getting this error saying that W3TC can’t write to the .htaccess file. The permissions are set properly but I think the problem is that this is a reseller account and it’s reading the root level .htaccess file as part of the plugin (I think?)
Here’s the message that appears at the top of the dashboard:
W3 Total Cache Error: The plugin tried to edit, /.htaccess, but failed. Files and directories cannot be modified. Please review your file permissions. A common cause is .htaccess and /home/katscafe/public_html/Cafe/wp-content having different ownership or permissions. File: /home/katscafe/public_html/Cafe/wp-config.php File permissions are 644 File owner: katscafe:katscafe File: /.htaccess File permissions are 0, however they should be 644. File owner: root:root Directory: /home/katscafe/public_html/Cafe/wp-content File owner: katscafe:katscafe Owner of current file: katscafe:katscafe The files and directories have different ownership, they should have the same ownership.
This is occuring on a site I’m in the process of rebuilding (so I’m using the temporary URL until I’m ready to direct folks to this site):
Thanks for any help you can give me – I’ll re-post here if either I or Hostgator is able to solve the problem before I hear back (and how!).
- The topic ‘Plugin tried to edit .htaccess but failed error …’ is closed to new replies.