I've come across a lot of people facing this issue that was eventually solved by file permission.
I'm getting this error:
The uploaded file could not be moved to wp-content/uploads/sites/4/2019/11.
While I've tried even with chmod -r 777
in my wp-content/uploads, it is still returning the same error.
I've also added in my wp-config
define( 'UPLOADS', 'wp-content/uploads' );
require_once( ABSPATH . 'wp-settings.php' );
But nothing seems to work.
I've come across a lot of people facing this issue that was eventually solved by file permission.
I'm getting this error:
The uploaded file could not be moved to wp-content/uploads/sites/4/2019/11.
While I've tried even with chmod -r 777
in my wp-content/uploads, it is still returning the same error.
I've also added in my wp-config
define( 'UPLOADS', 'wp-content/uploads' );
require_once( ABSPATH . 'wp-settings.php' );
But nothing seems to work.
Share Improve this question edited Nov 26, 2019 at 5:30 butlerblog 5,1213 gold badges28 silver badges44 bronze badges asked Nov 26, 2019 at 5:00 MonomoniMonomoni 101 1- What kind of upload directory structure do you have? Usually it’s like ’uploads/YEAR/MONTH/’ if you have the store in years/month folders option. – Luckyfella Commented Nov 26, 2019 at 21:51
1 Answer
Reset to default 0You could look here https://www.digitalocean/community/questions/wordpress-the-uploaded-file-could-not-be-moved-to-wp-content-uploads for some good answers.
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744967538a4603772.html
评论列表(0条)