• I have a bit of an unusual situation and need to know which directories must be writable by Apache in my WordPress install. I’m sincerely hoping that it’s not the entire web root and that I might limit it to perhaps 3 files and folders. So far, I believe it would be these items:
    .htaccess (grrr!)
    /wp-content/uploads
    /wp-content/plugins
    /wp-content/themes

    Also, I have a handful of plugins installed and I’m wondering if these plugins require additional write permissions or whether their actions are limited to those I’ve listed already. I find it frustrating that the admin backend doesn’t tell me which files and/or directories need write access.

    I’m also wondering if they will play nice with the W3 total cache plugin . Does anyone have any experience with this plugin?
    https://www.ads-software.com/extend/plugins/w3-total-cache/

Viewing 1 replies (of 1 total)
  • Your .htaccess should be 644, but if you have a plugin that modifies .htaccess then it may need write permissions. The folders should be 755, and all your files 644; I make the wp-config.php a 444 just for safety.

    Apache will let you know via a 500 or 501 error if a path is writable when it shouldn’t be (e.g. a 775 instead of 755)

Viewing 1 replies (of 1 total)
  • The topic ‘which files/folders need WRITE access for Apache?’ is closed to new replies.