correct wordpress permissions

By 23. Juli 2014 general No Comments

Sometimes there is a problem with the wordpress file permissions or you just want to check the security and set all permissions right.

Refering to: http://codex.wordpress.org/Hardening_WordPress

You should set the permissions like that:

For Directories: find /path/to/your/wordpress/install/ -type d -exec chmod 755 {}

For Files: find /path/to/your/wordpress/install/ -type f -exec chmod 644 {}

And its in general a good idea to read the „Hardering WordPress“ wiki page for better security.