Word Press Permissions

Some times wordpress can break due to improper permissions.

In order to fix permissions and ownership of the wordpress directories you need to run a few commands.  We reccomend using your ssh command line to execute this.

From your html directory where you are hosting your word press website. you need to first dictate to apache who the owner of the directories and files are.

In CentoOS you would run

chown -r apache ./

If you are using Debian then you would run

chown -R www-data ./

then set the file and folder  permissions

find -type d -exec chmod 755 {} \;
find -type f -exec chmod 664 {} \;

No comments yet.

Leave a Reply