{"id":46797,"date":"2015-04-14T02:31:00","date_gmt":"2015-04-14T06:31:00","guid":{"rendered":"http:\/\/www.templatemonster.com\/help\/?p=46797"},"modified":"2016-04-14T09:41:46","modified_gmt":"2016-04-14T13:41:46","slug":"wordpress-troubleshooter-how-to-deal-with-unable-to-create-directory-error","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/wordpress-troubleshooter-how-to-deal-with-unable-to-create-directory-error.html","title":{"rendered":"WordPress Troubleshooter. How to deal with &#8220;Unable to create directory&#8221; error"},"content":{"rendered":"<p>\r\n<p>This tutorial will show you how to deal with &#8220;Unable to create directory&#8221; error in WordPress.<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=lV36FTHAXiQ?width=1280&amp;height=720\" rel=\"prettyPhoto\">WordPress Troubleshooter. How to deal with &#8220;Unable to create directory&#8221; error<\/a><\/p>\r\n<p>We will check two possible solutions which can help you to solve the issue.<\/p>\r\n<p>First, the issue can be possibly related to the permissions of the <strong>wp-content<\/strong> or <strong>wp-content\/uploads<\/strong> folder itself. You will need to check them and in this particular case you need to check the following tutorial:<br \/>\r\n<a target=\"_blank\" href=\"\/help\/how-to-manage-filesfolders-permissions-with-total-commander-filezilla-and-cpanel-webhost-manager-whm.html\"> How to manage files\/folders permissions.<\/a><\/p>\r\n<p>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.<\/p>\r\n<ol>\r\n<li>\r\n<p>Enter WordPress admin panel, navigate to <strong>Appearence->Editor<\/strong> and find <strong>custom-function.php<\/strong>.<\/p>\r\n<\/li>\r\n<li>\r\n<p>Here you need to paste the following part of code just before the closing <strong>?&gt;<\/strong> tag at the end:<\/p>\r\n<pre class=\"brush:php\">\r\nif(get_option('upload_path')=='wp-content\/uploads' || get_option('upload_path')==null) {\r\nupdate_option('upload_path',WP_CONTENT_DIR.'\/uploads');}<\/pre>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/04\/Wordpress.-Unable-to-create-directory.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/04\/Wordpress.-Unable-to-create-directory-300x124.jpg\" alt=\"Wordpress. Unable to create directory\" width=\"300\" height=\"124\" class=\"aligncenter size-medium wp-image-46798\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/Wordpress.-Unable-to-create-directory-300x124.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/Wordpress.-Unable-to-create-directory-150x62.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/Wordpress.-Unable-to-create-directory-1024x425.jpg 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/04\/Wordpress.-Unable-to-create-directory.jpg 1891w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<\/li>\r\n<li>\r\n<p>Save the file up.<\/p>\r\n<\/li>\r\n<li>\r\n<p>After that go to the <strong>Settings > Media<\/strong>. There you can see new point called <strong>Store uploads in this folder<\/strong>. That is the place where you can check the correctness of the link itself.<\/p>\r\n<\/li>\r\n<\/ol>\r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=lV36FTHAXiQ?width=1280&amp;height=720\" rel=\"prettyPhoto\">WordPress Troubleshooter. How to deal with &#8220;Unable to create directory&#8221; error<\/a><\/p>\r\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>This tutorial will show you how to deal with &#8220;Unable to create directory&#8221; error in WordPress.<\/p>\n","protected":false},"author":63,"featured_media":46800,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[728],"tags":[796,1933,691,2405],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/46797"}],"collection":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/users\/63"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=46797"}],"version-history":[{"count":0,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/46797\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/46800"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=46797"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=46797"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=46797"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}