An error occurred in the upload, 'please try again later'

      78

Are you facing image upload issues on your WordPress website? For most beginners, image upload errors can be quite confusing because they can appear without you doing anything different.

Failure to lớn upload images is one of the most common image issues in WordPress. Luckily, it is quite easy to fix, và you can vì chưng it yourself.

Bạn đang xem: An error occurred in the upload, 'please try again later'

In this article, we will show you how to easily fix the image upload issue in WordPress. We will also explain what causes this issue, and how you can prevent it in the future.

*

What Causes The Image Upload Issue in WordPress

The image upload issue in WordPress is typically caused by incorrect tệp tin permissions. Your WordPress files are stored on your web hosting VPS và need specific tệp tin & directory permissions lớn work.

Wrong tệp tin permissions prsự kiện WordPress from reading or uploading file on the hosting hệ thống. You may get the following error when uploading image file:

‘Unable to lớn create directory wp-content/uploads/2019/04. Is its parent directory writable by the server?’

*

Another sign of this issue is that your images may disappear from the truyền thông media library.

*

My site was working fine before? Who changed the file permissions?

This could happen due to a number of reasons. A misconfiguration on your shared hosting server can sometimes change those permissions without you doing anything.

Xem thêm: Phân Giải Tên Miền Thành Địa Chỉ Ip Website, Thông Tin Tên Miền Đơn Giản Nhất

For example, your website hosting provider ran an nâng cấp which unexpectedly changed file permissions.

If everything else is working fine on your website, then you can simply apply the correct tệp tin permissions lớn fix the image upload issue.

That being said, let’s take a look at how lớn set correct file permissions khổng lồ fix image upload issues in WordPress.

Fixing Image Upload Issue in WordPress

You will need lớn use an FTP.. client to change file permissions.

First, connect to lớn your website via FTP and then go to /wp-content/ thư mục. Inside, you’ll find the uploads folder, which is where WordPress stores all your truyền thông media uploads including images.

Now right cliông xã on the uploads directory và then select File Permissions.

*

This will bring up the file permissions dialog box.

First, you will need khổng lồ set tệp tin permissions for the uploads directory & all the subdirectories inside it to lớn 744.

*

To do that, enter 744 in the numeric value box, & then kiểm tra the box next to Recurse inkhổng lồ subdirectories option. Now clichồng on the ‘Apply to directories only’ radio button.

Cliông chồng on the OK button to apply these changes. Your FTPhường. client will now start applying tệp tin permissions lớn the directories.

Note: If setting directory permissions to 744 does not seem to lớn solve sầu your problem, then try 755.

In the next step, you will need to phối file permissions for all the files in the uploads directory.

To vị that, right clichồng on uploads directory và select tệp tin permissions. In the file permissions dialog box, change the numeric value lớn 644.

Check the box next to Recurse into subdirectories. Lastly, you need to click on ‘Apply to files only’ radio button. Clichồng on the OK button to lớn apply these changes.

*

The FTPhường client will now change the permissions for all files inside the uploads thư mục. Once it is done, you can go bachồng khổng lồ your WordPress admin area and try uploading images again.

Note: if you don’t know how lớn use a FTPhường client, then you can also use the file manager provided by your WordPress hosting company. Since the screenshots will vary from each host, you will need to lớn talk khổng lồ their tư vấn to find instructions.

We hope this article helped you fix the image upload issue in WordPress. You may also want to see our article on how lớn optimize image SEO khổng lồ get more organic traffic to your trang web.

If you liked this article, then please subscribe to lớn our YouTube Channel for WordPress đoạn phim tutorials. You can also find us on Twitter và Facebook.

tinh dầu vape, pod 1 lần