wordpress unable to create directory

How to Overcome ‘WordPress Unable to Create Directory’ Error

Posted on

‘WordPress unable to create directory’ is one of the most common errors. This error commonly happens when you are uploading media, such as pictures. Adding pictures and other media is important to make your WordPress website look more professional and more interesting. So, do not let such an error block your way to do so. Below are the ways that you can try to handle the WordPress error.

Update or Change the File Storage Location to the Default Location

This is the easiest way to overcome an error when you are uploading media or images. Most WordPress users can immediately overcome the ‘unable to create directory’ error with this trick. So, it will be better if you try this way first before you try other ways. Here are the steps:

  1. First, of course, you need to log into your WordPress account.
  2. Open the media setting page by going to the setting and select media.
  3. Change the default folder location to ‘wp-content/uploads’ in the store uploads column in this folder.
  4. Do not forget to save the change.
  5. Once you have saved the change, you can immediately see whether this way works or not in overcoming the error. Try to upload a picture on the add media page or article writing page.

If this does not work, you can try another way mentioned below.

wordpress unable to create directory

Change Folder Permissions via cPanel

In this second way to overcome ‘WordPress unable to create directory’ error, you need to perform a few changes on the hosting section via cPanel. Before changing the settings on the cPanel page, it will be better if you take notes about which parts you have changed. In case, you need to change it back to the default setting. Here are the steps.

  1. Log into the cPanel dashboard page where you use your hosting service.
  2. Go to the File Manager page.
  3. Find and change permissions on the wp-content folder. Change it from 755 to 775.
  4. Wait around 10 minutes to 15 minutes. Then, try to upload a picture on your WordPress page, just like you are about to write a new article.
  5. If this does not work, repeat step number 3, and change the permission code to 777. Wait again around 10 minutes to 15 minutes before trying to upload a picture.
  6. If this still does not work, repeat the step number 3 to step number 5 for the wp-content/uploads folder. Then, see whether it manages to overcome such an error.
Read Also:  How to Add Social Media Icons to Blogger Blog

If you manage to overcome the error with the way mentioned above, do not forget to change the folder permission back to 755, which is the default number. It is because the folder is not supposed to permanently be changed for security reasons.

Those are the ways to overcome the error when you try to upload a picture on your WordPress site. Hopefully, one of those ways can help you to handle the ‘WordPress unable to create directory’ error.

Gravatar Image
Welcome to Krisetya Tech! Krisetya Tech is an interactive blog about technology. We provide reviews and other content related to tech gadgets like smartphones, PC's, laptops, tablets and more.

Leave a Reply

Your email address will not be published.