Fix The Problem With Uploading Images In WordPress (Step By Step)
Are you having trouble uploading images to your WordPress website? For most beginners, image upload errors can be quite confusing because they can appear without you doing anything else.
Not uploading images is one of the most common image problems in WordPress. Fortunately, it is fairly easy to solve, and you can do it yourself.
In this article, we show you how you can easily solve the problem with uploading images in WordPress. We will also explain what is causing this problem and how you can prevent this in the future.
What are the causes of the Image Upload problem in WordPress
The problem with uploading images in WordPress is usually caused by incorrect file permissions. Your WordPress files are stored on your web hosting server and need specific file and folder permissions to work.
Wrong file rights prevent WordPress from reading or uploading files to the host server. You may receive the following error message when uploading the image file:
“Cannot create WP-content / uploads / 2019/04. Is the parent folder writable by the server? “
Another sign of this problem is that your images may disappear from the media library.
My site worked fine before? Who has changed the file rights?
This can happen for various reasons. A misconfiguration on your shared hosting server can sometimes change those permissions without you doing anything.
For example, your web hosting provider has performed an upgrade that has unexpectedly changed file permissions.
If everything else works well on your website, you can easily apply the correct file permissions to resolve the image upload problem.
That said, let’s look at how to set up the correct file permissions to resolve image upload issues in WordPress.
Fix problem with uploading images in WordPress
You must use an FTP client to change the file rights.
First, connect to your website via FTP and then go to the
/wp-content/folder. Inside you will find the folder where WordPress stores all your media uploads including images.
Now right click on the folder with uploads and then select File Permissions.
This opens the File Rights dialogue box.
First, you have to set file permissions for the upload directory and all subfolders in it 744.
To do this, type 744 in the box with the numerical value and check the box next to the Recurse in subdirectories option. Now click on the ‘Only apply to folders’ radio button.
Click the OK button to apply these changes. Your FTP client will now use file permissions for the folders.
Note: If setting directory permissions to 744 do not seem to solve your problem, try 755.
In the next step you must set file permissions for all files in the upload directory.
To do this, right click on the uploads folder and select file permissions. Change the numeric value in the file permissions dialogue box to 644.
Check the box next to Recurse to subdirectories. Finally, you must click on the ‘Apply to files only’ radio button. Click the OK button to apply these changes.
The FTP client now changes the permissions for all files in the upload folder. Once this is done, you can go back to your WordPress management area and upload images again.
Note: If you do not know how to use an FTP client, you can also use the file manager provided by your WordPress hosting company. Since the screen images of each host may differ, you should talk to their support to find instructions.
We hope this article helped you solve the problem with uploading images in WordPress. You can also view our article on optimizing image SEO to get more organic traffic to your website.