Fix permissions in WordPress

Apache2

While in document root and in terminal run these commands:

chown www-data:www-data -R *
find . -type d -exec chmod 755 {} \;
find . -type f -exec chmod 644 {} \;

Litespeed

While in document root and in terminal run these commands:

chown nobody:nogroup -R *
find . -type d -exec chmod 755 {} \;
find . -type f -exec chmod 644 {} \;

Leave a reply:

Your email address will not be published.

Site Footer