Title: Media uploads not working
Last modified: August 20, 2016

---

# Media uploads not working

 *  [cboyd213](https://wordpress.org/support/users/cboyd213/)
 * (@cboyd213)
 * [15 years ago](https://wordpress.org/support/topic/media-uploads-not-working/)
 * hello,
    I moved my wordpress site from a windows server to linux copied all files
   over and uploaded database after doing so media uploads will not work I tried
   the higest chmod on the content folder and upload folder and still still not 
   work
 * Getting error:
    The uploaded file could not be moved to /var/www/html/sales/userid/
   domain.com/www/html/wp-content/uploads/2011/05.
 * Thanks for your time!

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years ago](https://wordpress.org/support/topic/media-uploads-not-working/#post-2088981)
 * Try changing the permissions on the wp-content directory to 766. If you still
   have problems, try 767, 775 or 777. Once your uploads are working, change the
   permissions on wp-content back to 755 again and check that everything still works
   OK.
    [http://codex.wordpress.org/Changing_File_Permissions](http://codex.wordpress.org/Changing_File_Permissions)
 *  Thread Starter [cboyd213](https://wordpress.org/support/users/cboyd213/)
 * (@cboyd213)
 * [15 years ago](https://wordpress.org/support/topic/media-uploads-not-working/#post-2089036)
 * I just tried this and I’m sorry to say it didn’t work
 * When I changed the wp-content directory to 766 it added to the error the following:“
   Is its parent directory writable by the server?” then I went ahead and worked
   my way up on the chmod setting and it went away but still will not upload the
   image.
 * size is not an issue because it’s set for 80MB max.
    The file location it gives
   is correct. Could I have entered a wrong line code in mysql from the transfer
   from windows to linux? everything else seems to work ok.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years ago](https://wordpress.org/support/topic/media-uploads-not-working/#post-2089068)
 * It could be a folder ownership issue – in which case, you’d need to ask your 
   hosts to have a look at the problem.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Media uploads not working’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [15 years ago](https://wordpress.org/support/topic/media-uploads-not-working/#post-2089068)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
