🚀 Is building a website too difficult? Let me guide you step by step—Learn about the 「Naibabiji WordPress Website Building Coaching Service」 →

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

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, but another panel or no panel at all, the same principle applies: you only need to 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
 

🚀 Still feeling confused after reading the tutorial? Let me guide you step-by-step.

「Naibabiji WordPress Website Building Coaching Service」—From choosing a domain and buying hosting, to installing a Theme and publishing content, I「ll coach you through every step, helping you avoid detours and reach your goal directly.

👉 Learn about the Website Building Coaching Service
🔒

Comments are closed

The comment function for this article is closed. If you have any questions, please feel free to contact us through other channels.

×
二维码

Scan QR Code to Follow

AI Website Building Assistant

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