[Solved] Correct file permissions for WordPress

chown www-data:www-data  -R * # Let Apache be owner

find . -type d -exec chmod 755 {} \;  # Change directory permissions rwxr-xr-x

find . -type f -exec chmod 644 {} \;

Leave a Reply

Your email address will not be published.