最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

WP media upload issues

programmeradmin0浏览0评论

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
Add a comment  | 

1 Answer 1

Reset to default 0

You could look here https://www.digitalocean/community/questions/wordpress-the-uploaded-file-could-not-be-moved-to-wp-content-uploads for some good answers.

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论