Change WordPress Permissions via the Shell over SSH

Login to your server via SSH and enter the following commands to change your WordPress directory and file permissions.

Directory Permissions

Set permissions on all directories to 755.

find . -type d -print -exec chmod 755 {} \;

File Permissions

Set permissions on all files to 644.

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

Leave a Reply

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

Are you in need of a freelance web developer?

Hire me