WordPress fix directory permission

Go to wordpress’s web directory and simply:

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

Leave a Reply

Your email address will not be published. Required fields are marked *

*

code

This site uses Akismet to reduce spam. Learn how your comment data is processed.