Home Website News Articles Standard Post

Standard Post

Unable to create directory wp-content/uploads/2020/02. Is its parent directory writable by the server?

If you get a prompt like „Unable to create directory wp-content/uploads/2020/02. Is its parent directory writable by the server?“ when uploading themes or images in the WordPress backend, the directory location corresponds to the current year and month, e.g., 2020/01, 02, 03. You just need to set the folder permissions correctly. Specifically...

Updated on January 11, 2021 About 1 minute read

If you are prompted „Unable to create directory wp-content/uploads/2020/02. Is its parent directory writable by the server?“ when uploading a theme or images in the WordPress backend, the directory location is your current year/month, such as 2020/01, 02, 03, etc. You just need to set the correct folder directory permissions. The specific method is as follows:

Baota Panel Solution for Directory Permissions

1. Log in to the Baota Panel, enter your website's folder, as shown in the figure below. You can see the permissions and owner are 755 and root respectively. The correct ones should be 755 and www, so we just need to modify them.

宝塔文件夹权限

2. First, select all files and folders, then click the permissions button in the upper right corner. In the pop-up interface, choose 755 for permissions and www for the owner, then confirm. This will solve the problem.

宝塔文件夹权限i需改

Other Panel Setup Methods

If you are not using Baota Panel but other panels or no panel, the same principle applies: just set the folder permissions.

If you don't know how, you can refer to the method below.Connect to the VPS using xshelland then operate.

  1. chmod -R 755 your-website-directory-path
  2. chown -R www:www your-website-directory-path

 

Rate this article post
Previous Google Search Console Tutorial_How to Use Google Search Console Continue reading content around the same timeline. Next Free WordPress Multi-purpose Business Theme: Hestia View the next related tutorial or experience.

AI Website Building Assistant

🤖
Hello! I am the Naibabiji AI Assistant. How can I help you?
Quick Consultation: