InMotion Hosting Support Center

.htaccess error with W3 Total Cache

Category: Wordpress

n/a Points
2015-02-07 7:34 am EST

Hits: 11,269
i'm having a problem trying' to install W3 Total Cache plugin on Wordpress. It give me this error:
FTP credentials don't allow to write to file /.htaccess
W3 Total Cache Error: Files and directories could not be automatically created to complete the installation.
Please execute commands manually or use FTP form to allow W3 Total Cache make it automatically.
After a long chat with your customer service, I didn't find a solution.
Thank you very much!

You must login before you can ask a follow up question.

You must login before you can submit an answer.



43,761 Points
2015-02-09 4:03 pm EST
Hello Simone,

Sorry to hear you are having issues with your W3 Total Cache install. I gave it a shot on my own server and it installed without issue. I compared permissions of the domain root folder and the htaccess file and they are the same as my own server.

If you have any other caching plugins enabled, deactive them and try again. If that fails, you may want to rename the plugins folder and then try to reinstall the plugin. This should create a new plugins folder that can be removed after the test. If the plugin installs correctly, then one of the other plugins is conflicting with the installation of the W3 total cache. At that point, simply uninstall the W3 total cache and remove the new (and empty) plugins folder. Then you can rename the old plugins folder back to its original state.

Then you will want to rename each of the individual plugins folder one at a time and try to install W3 total cache. When you rename one and are able to install W3 Totat cache, then you know that is the interfering plugin.

If you are not able to install W3 with the plugins folder renamed, it may be something within your htaccess file itself and will need to be looked at line by line. Htaccess files can be finicky as they grow in size and a single line can cause things to fail.

Kindest Regards,
Scott M

You must login before you can post a comment about this answer.

Thank you very much for your deep explanation! :)
To make what you suggest, I need to put my website in maintenance mode, but since I moved in InMotion recently after bad experience with my previous host, I can't make this 'cause I need to keep my website 'alive' for a while.. Google rank...... you know what I mean, right? ;)
I will take my time and I try your suggestions very soon :)
By the way, I installed WP Fastest Cache plugin, just to keep a good browsing experience on website. Do you think it's a good alternative ?
I will let you know my results with W3 plugin :)
Thanks again and have a great day!
43 Points
2015-02-10 5:54 am EST
Hello Simone,

I have not used that plugin directly but I have found that WP Super Cache is a decent alternative to W3 Total Cache.

Kindest Regards,
TJ Edens
10,077 Points
2015-02-10 10:58 am EST
Hi TJ,
Thank you very much, really appreciate your help! :)
43 Points
2015-02-10 11:14 am EST

2015-03-26 8:17 am EST
Due to the security plugins, other plugins lost their writing permission to .htaccess and other files. Even you could not see the image which was recently updated. The solution is simple.
1. Check the directory permission level is <strong>755</strong> (in case WordPress installed in the directory).
2. Now check the file permission for .htaccess which is necessary to be <strong>644</strong>. Otherwise, you will encounter the error.

Source: <a href="">DoubtSolver</a>

You must login before you can post a comment about this answer.

Like this Question?

Forum Login

You are NOT logged in. You can still browse our Support Center.

To participate within our Community Support Forum:

Need more Help?

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!