Just for personal reference.
For Directories:
find /path/to/your/wordpress/install/ -type d -exec chmod 750 {} \;
For Files:
find /path/to/your/wordpress/install/ -type f -exec chmod 640 {} \;
chown www-data:www-data -R * # Let Apache be owner
define( 'FS_METHOD', 'direct' );
in wp-config.php
Leave a Reply