Correct permission for wp-admin Wordpress directory

Asked

Viewed 394 times

0

What is the correct permission to assign to the wp-admin directory of Wordpress? 644 or 755?

1 answer

1


By default Wordpress assigns permission 755 and in your documentation the recommendation is that you do not need to change the definitions it assigns as default.

What you need to worry about is that you should leave the pattern 644 to the wp-config.php or if you prefer a more guaranteed security you can leave at 600 (test to see if it will not give some problem in your installation).

Let also 644 for . htacess or 604 (may be that some plugins need at least 644.

Another important point is not to leave permissions 777 because it leaves it fully writable, where it can be a port for hackers and malicious files.

Check out the official documentation:

- Changing File Permissions

- Shielding the Wordpress

Browser other questions tagged

You are not signed in. Login or sign up in order to post.