How to Fix File and Folder Permissions Error in WordPress

Are you looking for the guide to fix file and folder permissions error in WordPress?

How to fix file and folder permission error in WP

In WordPress, file permission allow or disallow you to upload files, images and videos in your blog. If the file permissions are incorrect then you will see error while uploading files in your WordPress blog. In this WordPress tutorial you will learn how to fix file and folder permissions error in WordPress site.

WordPress default file permissions value set for the files is 644 and for the folders or directory, file permissions value is set to 755. Sometime due to sever glitch the file permissions may change and you will experience error while uploading files in your website.

Fix File and Folder Permissions Error in WordPress

You can fix this error by setting correct file permissions of your WordPress core. You need FTP client such as FileZilla to access your web server. You can download and install FileZilla to your computer and connect to the hosting server.

Ftp connect to server

Once connected, Double click on root folder e.g. public_html where you will see WordPress core files and folder. You need to set correct file permission to all files and folders such as wp-content, wp-admin and wp-include.

Open Public html

Change File Permission to the Folders (Directory)

Note: All three folders wp-content, wp-admin and wp-include should have file permission 755 which will allow your website to read, write and execute the folders.

Select all three core folders pressing CTRL key and right click on the selected folders then click on file permissions.

file permission core

You will see dialog box where you can set correct file permission to the folders.

In numeric value box type 755 then check Recurse into subdirectories box then select apply to directories only and click on ok button. It will apply file permissions to all the folders inside three folders wp-content, wp-admin and wp-include. It will take few minutes to complete the changes.

Fix Image Upload Issue in WordPress

Change File Permission to the Files

Note: All files in root directory e.g. public_html including files inside the folders should have file permission 644 which will allow your website to read, write and execute the files.

From the root directory e.g. public_html, select all the files and folders then right click on the selected file and folder and click on File Permissions.

file permission files and folders

In numeric value field type 644 then check Recurse into subdirectories box then select apply to files only and click on ok button. This will apply file permissions to all the files of your WordPress blog.

Fix Image Upload Issue in WordPress

You have successfully changed the correct file permission to the files and folders of your WordPress blog.

We hope this guide on how to fix file and folder permissions error in WordPress is helpful. You may also like to see the guide on how to fix image upload issue in WordPress blog.

If you find this guide helpful, please share and follow us on Facebook and Twitter.

You may also like...

Leave a Reply

avatar
  Subscribe  
Notify of