Oct 6 2017

hak akses untuk folder ‘upload’ pada WP

chown -R kadalsumbing:www-data uploads/

chmod -R 755 upload/


Oct 5 2017

Setting alias di NGINX

rewrite /wp-admin$ $scheme://$host$uri/ permanent;

location ~ ^/files/(.*)$ {
try_files /wp-content/blogs.dir/$uri /wp-includes/ms-files.php?file=$1 ;
}

location ^~ /blogs.dir {
internal;
alias /home/kadal/web/kadalbencong.net/public_html/wp-content/blogs.dir ;
access_log off;
log_not_found off;
expires max;
}