1 reputation
bio website
location
age
visits member for 1 year, 8 months
seen Jun 1 at 23:05

Dec
31
comment How to to secure WordPress file and folder permissions
in simple steps 1- add user in you apache server, sudo useradd -d /var/www -G www-data demo 2-set it password sudo passwd demo 3-Changing the document root permissions sudo chgrp -R www-data /var/www 4-change owner to the use chown -R demo /var/www 5-Make folder Group Writeable sudo chmod -R g+w /var/www 6- wordpress need all folders to be 755 and files to be 755 to do this recursivly use terminal for folders find /var/www -type d -exec chmod 755 {} \; for folders find /var/www -type d -exec chmod 644 {} \; also harden your securty with htaccess and other tricks that you can google
Dec
29
answered How to to secure WordPress file and folder permissions