Correct file & folder permissions for WordPress

28 May 2014 1 min read

Some plugin desapeared to your WordPress installation? Some hacked thing? No problem, if you fix the file permissions on your files you will harden your site.

Fixing ‘.htaccess‘ & ‘wp-admin/index.php‘

First of all, we must verify the permissions of ‘.htaccess‘ and ‘wp-admin/index.php‘. They cannot be writable except for the user. The correct permission for them is 644.

644
644

Fixing the rest of installation

Now we fix the rest of the WordPress installation with a 755 permissions.

755 permissions
755 permissions

After that changes you can sleep better from now ;-)


Share: Link copied to clipboard

Tags:

Where: Home > Technical > Correct file & folder permissions for WordPress