Tips

How to fix the permissions error in WordPress folders and files

There are some errors in WordPress that can give us some headaches, but they are easily solved. This is the case of the WordPress folder and file permission error, which can be activated when you try to upload a file to your web page. When setting the permissions of the folders and files, we indicate to the server who can read, execute or modify files that are in your account.

Incorrect permissions can generate errors when you try to create files or upload them to your WordPress, but the most important thing is that they can compromise the security of your website. Let’s see how to have our file and folder permissions in order.

What do we need to correct the error?

Both to correct and to prevent the error of permissions in the files and folders of your WordPress, we will need to have access via FTP of our WordPress with some client installed on the PC as phpMyAdmin, Free FTP, Cyberduck or the most popular of all: FileZilla. You will also need a good connection and take into account the following figures (we’ll see where to put them later):

For all folders and subfolders: 755

For all files: 644.

Now let’s see how to carry out this very easy task.

Fix the error easily

Connect to your WordPress via FTP and access the root folder. Then, select all the files and right click, select “File permissions” and a dialog window will open.

In the field of numeric values ​​that you will see in fourth place under several checkboxes, type 755, select the checkbox of “Recurse into subdirectories” and select the option “Apply to directories only”.

Click on the OK button and the FTP client will start to configure the permissions for folders and subfolders, you should wait a moment.

Now go back to the root folder of your WordPress, click on the right button, select File Permissions and when the dialog box opens, type 644 in the numerical value field that you will see in the same place as the window that we opened in the previous step.

As in the previous step, click on the “Recurse into subdirectories” checkbox and select “Apply to files only”. Click on OK to continue and wait until your client completes the process.

We hope this article has been very helpful, remember that we have more information about common WordPress errors. If we have not yet published about an error that worries you, let us know in the comments. See you in the next post!

Jefferson Maldonado
the authorJefferson Maldonado
UX WordPress Designer
Ux & Web Designer. Portafolio: http://maldonadoz.com/portafolio/ Divi Blogger, WordPress Expert, UX Designer, Business Consultant.

Leave a Reply

× Hey there !