How to fix WordPress Media error “The uploaded file could not be moved to wp-content”
Symptoms:
After moving a WordPress website from one server to another or any security changes in server level may trigger the error. While uploading a file using WordPress Media the upload process failed and the error is “The uploaded file could not be moved to wp-content/..”
Possible Cause:
wp-content/uploads directory has become immutable.
Fix:
To fix the issue you have to make the uploads directory mutable. When a directory is marked as immutable then its content can not be changed even by the administrator. So first step is to check make the directory mutable recursively and check whether the upload problem is fixed or not.
How to make the directory mutable?
• First connect to your VPS using putty. Check here: How to Connect to a Linux Server from Windows: A Comprehensive Guide for FireVPS Users
• Run this command
sudo chattr -R -i /home/my-domain/public_html/wp-content/uploads
Please change the path according to your upload directory path.
Now check the WordPress Media upload function. It should work fine now.
If you are still having any issues or confusion, please feel free to knock us on Live Chat from our website. Our support team is always ready to help you.
FireVPS / Live Chat / Skype / support@firevps.net
![](https://firevps.net/blog/wp-content/uploads/2024/08/15.png)
High-Performance VPS Hosting
![](https://firevps.net/blog/wp-content/uploads/2024/08/1.png)
Need WordPress Consulting Services?
![](https://firevps.net/blog/wp-content/uploads/2023/03/permanent-domain-registration-scaled-1-1.jpg)
Need Domain Name?
85% Promo on Domain Names
![](https://firevps.net/blog/wp-content/uploads/2023/04/data-center.png)
Dedicated RDP
Poland RDP 50% recurring discount!
Recent Post
FireVPS accept Perfect Money for VPS, RDP, Business Email & Other Products
Remote Desktop Admin RDP 10Gbps RDP Linux VPS Ryzen VPS CyberPanel powered VPS Business Email GSuiteTM Perfect Money checkout process Choose the desired products/package Configure it On the checkout page choose Perfect Money as your payment method. You will be...
Unable to create directory wp-content/uploads/2024/09. Is its parent directory writable by the server?
Symptoms: Suddenly you can not upload any file in WordPress Media. The error shows: “Unable to create directory wp-content/uploads/. Is its parent directory writable by the server”. Diagnosis: The error indicates that the wordpress system can not create...
How to Connect to a Linux Server from Windows: A Comprehensive Guide for FireVPS Users
Connecting to a Linux server from a Windows machine is a crucial task for managing your web hosting services efficiently. Whether you are deploying a new application, managing a database, or configuring server settings, having a seamless connection is essential....
Top Ten VPS Providers: Why FireVPS Ranks Among the Best
In today’s digital age, having a reliable web hosting service is crucial for businesses and individuals alike. Virtual Private Servers (VPS) offer an excellent balance between the affordability of shared hosting and the performance of dedicated servers. This article...