I know it has been asked over and over again on the internet and i spend hours digging deeper into the web. But the no answer so far.
Why we get this error when you upload a file
The uploaded file could not be moved to wp-content/uploads
- I tried various file persimission on folders and files in the ftp.
- Tried a fresh install WP.
- I tried this code
define( 'UPLOADS', 'wp-content/uploads' );
- I tried adding the path in the
wp/options.php
location for upload_path. - I created the upload folder manually, because when i installed WP the
wp-content
folder does not have any folder nameduploads
But nothing so far..
Local Server
There is no issue so far in the local server.
I am just a beginner and learning WordPress from scratch. The only issue i got stuck is this file upload thing.
Can anyone help me!
write
access to thewp-content/uploads
directory in order to upload files. You may have to consult your hosting company for assistance.