Required File and Folder Permissions
-
What are the required file and folder permissions for W3 Total Cache? Are they documented somewhere?
I’d love to see something like this in the following before and during W3TC installation and configuration as well as on any screens which will need to make changes:
During installation and configuration, W3 Total Cache needs to create and modify files in your wp-content directory and modify wp-config.php and .htaccess in your WordPress base directory. For these changes to take place, we need read and write permissions for the files and folder. After initial configuration, we recommend we change the file permissions back to their more secure defaults.
I thought installing this would be easy. I guess that was naive.
As I encountered each problem I would search the web and, more often than not, the solution was to change the permissions for a file on the web server.
Okay. No problem. But the actual required permissions aren’t clear. Most thread responses seem to say 777. That doesn’t seem like a good idea and it’s definitely not a good idea to leave them that way.
I made sure the group associations were correct and set the permissions to 664 for
.htaccess
&wp-config.php
and 775 for thewp-content
directory. Then I set them back to 644 and 755 when W3 was done doing its thing, but I’m a disgruntled former Unix admin. I don’t appreciate having to learn this through trial and error and I imagine the average WordPress user never even wants to see the command line on their server.So I guess I figured out the answer for me, but I’m requesting a documentation change to make it easier for others.
Now I have to figure out what all these other Unavailable options are and whether or not it’s worth installing/configuring them.
The page I need help with: [log in to see the link]
- The topic ‘Required File and Folder Permissions’ is closed to new replies.