UNABLE TO CREATE DIRECTORY WP

      33
*

After migrating WordPress from old Windows Hosting lớn my own WordPress Hosting, I started to lớn see these following errors when I try lớn upload or import truyền thông into WordPress’s media library then this tutorial is for you. It will show you how to fix this annoying error.

Bạn đang xem: Unable to create directory wp

Unable to Create Directory wp-content/uploads. Is its Parent Directory Writable by the Server.In the beginning, I thought that the cause of the problem might be the lack of permissions on the new server. I connected to lớn my FTP server using FileZilla & started to kiểm tra the wp-content/uploads via FTP & I found that the thư mục of the current month is present.

After that, I thought the cause of the problem may be tệp tin permissions as WordPress was unable lớn write/edit the parent folder, so I changed the permissions via FTP.

However, I still couldn’t upload files to lớn WordPress truyền thông library & still getting “Unable to Create Directory wp-content/uploads. Is its Parent Directory Writable by the Server” error when I try khổng lồ upload the files even after using another browser to write the new post.

Xem thêm: Cách Đăng Bài Lên Trường Học Kết Nối Chi Tiết Từ A Đến Z, Cách Đăng Bài Lên Trường Học Kết Nối

How to lớn solve “Unable lớn Create Directory wp-content/uploads. Is its Parent Directory Writable by the Server”

The main reason of this error is that the wp-content/uploads folder does not exist because when Iinstalled WordPress on the old vps it automatically extracted the old path for uploads folder. The old path includes the user trương mục on previous server and when I migrated to lớn the new server the username changed so for WordPress the tệp tin does not exist.

To solve this simple error, you need to change the path of the old uploads thư mục to the new one. Follow these steps to solve the problem:

Log in to your WordPress admin panel (wp-admin).In the left menu go to “setting > media”.In theStore uploads in this folder field, enter default value “wp-content/uploads” & click Save changes.Now you are done, go & try khổng lồ upload files khổng lồ the truyền thông library again.

If can’t find the “Store uploads in this folder” ?

If you can’t find the field in your truyền thông media settings page you can solve the problem by adding the following code in your wp-config.php file:

define( "UPLOADS", "wp-content/uploads" );And the “Unable to Create Directory wp-content/uploads. Is its Parent Directory Writable by the Server” error will be fixed.

Still get the “Unable lớn Create Directory wp-content/uploads. Is its Parent Directory Writable by the Server” error message?

If you couldn’t solve the problem and the “Unable lớn Create Directory wp-content/uploads. Is its Parent Directory Writable by the Server” error message still appearing, let me know and I will help you.

https://hi88n.com/