Nov
22

Changing File Permissions

All files should be owned by your user account, and should be writable by you. Any file that needs write access from WordPress should be group-owned by the user account used by the webserver.

  • / – The root WordPress directory: all files should be writable only by your user account
  • EXCEPT .htaccess if you want WordPress to automatically generate rewrite rules for you
  • /wp-admin/ – the WordPress administration area: all files should be writable only by your user account.
  • /wp-includes/ – the bulk of WordPress application logic: all files should be writable only by your user account.
  • /wp-images/ – image files used by WordPress: all files should be writable only by your user account.
  • /wp-content/ – variable user-supplied content
  • /wp-content/themes/ – theme files. If you want to use the built-in theme editor, all files need to be group writable. If you do not want to use the built-in theme editor, all files can be writable only by your user account
  • /wp-content/plugins/ – plugin files: all files should be writable only by your user account.
  • other directories under /wp-content/ should be documented by whatever plugin / theme requires them. Permissions will vary.
  • The WordPress Database Backup Plugin requires the /wp-content/ folder be made writeable. In some cases, this may require assigning 755 permissions or higher (e.g. 777 on some hosts).

Popularity: 7%

Related posts:
  1. Secure File Permissions Matter Hi, Summary: A web host had a crappy server configuration...
  2. Permissions to Some Standard wordpress Files: .htaccess - 644 > 604 php.ini permissions - 644 >...
  3. Case Study: MySQL ErrorCode 13: Can’t Create/Write To File Hi, Problem: The MySQL variable tmpdir is set to a...
  4. An Example of MySQL Settings in wp-config.php file – WordPress Hello All,Below mentioned is an example of MySQL settings for...
  5. Code To Replace Embedded Post Links After Changing Domain Name In WordPress Blog? Hi, Whenever we have changed domain name then we need...

Leave a Reply

You must be logged in to post a comment.