Skip to content

Instantly share code, notes, and snippets.

@nghuuphuoc
Last active December 30, 2015 23:59
Show Gist options
  • Save nghuuphuoc/7904221 to your computer and use it in GitHub Desktop.
Save nghuuphuoc/7904221 to your computer and use it in GitHub Desktop.
Allow Wordpress to update the plugin without asking for FTP account
// Add the following line to wp-config.php
define('FS_METHOD','direct');
// Set wp-content permission
$ chmod -R 775 wp-content/
$ chown -R nginx:nginx wp-content/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment