InMotion Hosting Support Center

.htaccess error with W3 Total Cache

Category: Wordpress

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

Hits: 11,269
Hi,
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!
Simone

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

You must login before you can submit an answer.

OTHER ANSWERS

0

scott
Staff
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.

Scott,
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!
Simone
Korgzero
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
TJEdens
10,077 Points
Staff
2015-02-10 10:58 am EST
Hi TJ,
Thank you very much, really appreciate your help! :)
Korgzero
43 Points
2015-02-10 11:14 am EST
0

luckybhumkar
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="http://www.doubtsolver.com/wordpress/ftp-credentials-dont-allow-to-write-to-htaccess/">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: support@InMotionHosting.com
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!