The uploaded file could not be moved to /home/ …

A common error in all versions of WordPress.

The uploaded file could not be moved to /home/public_html/wp-content/uploads/

When? – The error appears at uploadthe files via WordPress / dashboard / write post .

Why? – Because the blog was moved (FILES + database) from one server to another and lost attributes / Permissions folders (chmod). (This is a particular case. The reasons can be others)

The solution is very simple. We edit the following line in PHP.ini:

safe_mode_gid=ON

We then change the folder's permissions “uploads”.

chmod 777 wp-content/uploads

Pleasant fun! :)

Passionate about technology, I write with pleasure on stealthsetts.com starting with 2006. I have a rich experience in operating systems: Macos, Windows and Linux, but also in programming languages ​​and blogging platforms (WordPress) and for online stores (WooCommerce, Magento, Presashop).

Home Your source of IT tutorials, useful tips and news. The uploaded file could not be moved to /home/ …
Leave a Comment