- Web templates
- E-commerce Templates
- CMS & Blog Templates
- Facebook Templates
- Website Builders
WordPress Troubleshooter. How to deal with “Unable to create directory” error
April 14, 2015
This tutorial will show you how to deal with “Unable to create directory” error in WordPress.
WordPress Troubleshooter. How to deal with “Unable to create directory” error
We will check two possible solutions which can help you to solve the issue.
First, the issue can be possibly related to the permissions of the wp-content or wp-content/uploads folder itself. You will need to check them and in this particular case you need to check the following tutorial:
How to manage files/folders permissions.
There is one more solution which can be connected to the incorrect link indicated in the WordPress itself, though in order to check it, you will need to do few steps indicated further.
-
Enter WordPress admin panel, navigate to Appearence->Editor and find custom-function.php.
-
Here you need to paste the following part of code just before the closing ?> tag at the end:
if(get_option('upload_path')=='wp-content/uploads' || get_option('upload_path')==null) { update_option('upload_path',WP_CONTENT_DIR.'/uploads');}
-
Save the file up.
-
After that go to the Settings > Media. There you can see new point called Store uploads in this folder. That is the place where you can check the correctness of the link itself.
Feel free to check the detailed video tutorial below:
WordPress Troubleshooter. How to deal with “Unable to create directory” error