xFelix
xFelix

Get WordPress file permission right

Get WordPress file permission right

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

 

 

Written by Felix. Licensed under CC BY-NC-SA 3.0 Unported.

Leave a Reply

textsms
account_circle
email

xFelix

Get WordPress file permission right
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/ -ty…
Scan QR code to continue reading
2019-03-05