Title: Uploads folder error
Last modified: August 20, 2016

---

# Uploads folder error

 *  [turkeyphant](https://wordpress.org/support/users/turkeyphant/)
 * (@turkeyphant)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/uploads-folder-error/)
 * I recently migrated my WordPress site to a new host (using BackupBuddy).
 * Previously my image URLs were /files/year/month/file.ext
    My recent migration
   changed that to the horrible /wp-content/uploads//year/month/file.ext (note the
   disgusting //)
 * Also, for the images in one post, the image URLs remained at /files/year/month/
   file.ext resulting in 404s.
 * How do I fix my uploads URLs so that it’s back to the original format?

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

 *  [linux4me2](https://wordpress.org/support/users/linux4me2/)
 * (@linux4me2)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/uploads-folder-error/#post-3250021)
 * Have you looked at the section [When Your Domain Name or URLs Change](http://codex.wordpress.org/Moving_WordPress#When_Your_Domain_Name_or_URLs_Change)
   in the [Moving WordPress Codex](http://codex.wordpress.org/Moving_WordPress) 
   article?
 * It mentions the [WordPress Search and Replace Tool](http://interconnectit.com/products/search-and-replace-for-wordpress-databases/)
   if you don’t want to make the changes to the database yourself.
 * Also make sure that you have the correct setting for your desired media folder
   in Settings -> Media.
 *  [Rev. Voodoo](https://wordpress.org/support/users/rvoodoo/)
 * (@rvoodoo)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/uploads-folder-error/#post-3250023)
 * Are you wanting the files as they were? /files/year/… etc is a custom structure
 * You could most likely move the files in your directories to where they should
   be, and then adjust the upload path accordingly in settings->media
 *  Thread Starter [turkeyphant](https://wordpress.org/support/users/turkeyphant/)
 * (@turkeyphant)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/uploads-folder-error/#post-3250046)
 * I didn’t change it to a custom structure so I’m not sure how that happened. It
   was on multisite if that makes any difference.
 * So just manually moving the files on the server and settings the URL in “Store
   uploads in this folder” should fix the // error?
 * What about the “Full URL path to files” option?
 *  Thread Starter [turkeyphant](https://wordpress.org/support/users/turkeyphant/)
 * (@turkeyphant)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/uploads-folder-error/#post-3250054)
 * Also, do I need to move the other directories in wp-contents/uploads too? I have
   some directories for plug-ins like shareaholic, gravity forms?
 *  Thread Starter [turkeyphant](https://wordpress.org/support/users/turkeyphant/)
 * (@turkeyphant)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/uploads-folder-error/#post-3250060)
 * Anyone got advice about this?
 *  [linux4me2](https://wordpress.org/support/users/linux4me2/)
 * (@linux4me2)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/uploads-folder-error/#post-3250062)
 * I don’t know for sure, but I would do as Rev. Voodoo suggested and set the Settings-
   > Media folder to your desired location for media files, then create the folders
   on the server the way you want them and just move one image that location to 
   test it. If you still get a 404 and the source shows that an incorrect path is
   still being used, go into the Media Library and change the path to that one file
   to the folder you created and click Update. See if that fixed the issue. If so,
   you can fix the remaining images either manually or by running a query in the
   database to update them all.
 * I don’t know about the other directories in uploads. I would go one step at a
   time and fix the images first, then see if changing the Media Settings file path
   affected the plugins.
 *  Thread Starter [turkeyphant](https://wordpress.org/support/users/turkeyphant/)
 * (@turkeyphant)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/uploads-folder-error/#post-3250063)
 * Moving the images worked, I’m just not sure about the other files there….
 *  [linux4me2](https://wordpress.org/support/users/linux4me2/)
 * (@linux4me2)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/uploads-folder-error/#post-3250064)
 * It seems like the plugins would have loaded them into whatever folder you identified
   for Media uploads, and having changed that path, you would need to move them 
   as well, but I’m just guessing. I think if it were me, I would move them into
   the correct location, rename the old folders temporarily, check the plugins to
   see if they still work, and check your server error logs for 404s they might 
   be throwing.

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

The topic ‘Uploads folder error’ is closed to new replies.

## Tags

 * [folder](https://wordpress.org/support/topic-tag/folder/)
 * [images](https://wordpress.org/support/topic-tag/images/)
 * [path](https://wordpress.org/support/topic-tag/path/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 8 replies
 * 3 participants
 * Last reply from: [linux4me2](https://wordpress.org/support/users/linux4me2/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/uploads-folder-error/#post-3250064)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
