Topics

Unable to create directory uploads

Unable to create directory uploads/2019/09. Is its parent directory writable by the server?

Unable to create directory uploads

How to solve media upload error in wordpress?

To check and solve this issue, you need to have access of wordpress website and cpanel.

Follow these steps:

Step 1 – Set the folder permission:

First of all, you need to make sure that the permission of ‘Uploads’ folder in main directory is set to 0755.

Step 1 – Open CPanel

Step 2 – Open ‘Files Manager’:

Locate for the folder ‘File Manager’ under FILES section and open the same

File Manager

Step 3 – Open root directory:

If the domain is your primary domain then open Public_html

If the domain is addon domain then open the directory folder instead of Public_html

Step 4 –  Open the ‘wp-content’

Step 5 – Locate the folder ‘uploads’ and change its ‘Permission’ to 0755

uploads

Step 6 – Change the permission of sub folders and sub files:

Open the ‘uploads’ folder and change the Permission of all sub folder to 0755 and files to 0644

Folders and files

Step 2 – Specify the path of ‘uploads’ folder in settings:

Step 1 – Go to WP admin panel -> Settings -> Media

Step 2 – Scroll down to ‘Store uploads in this folder’

Wrong setting

Step 3 – Put the default value i.e. ‘/wp-content/uploads’

Step 4 – Save the changes

Media setting

Now you are good to go.

Leave a comment

Your email address will not be published. Required fields are marked *

× Whatsapp