Relocate Upload lets you specify folders, and adds a menu to the Media Library (and Edit Media admin page) that lets you switch media items between these folders and WPs default upload location.
Known Issues
When creating new folders,
Why? What’s the point of these other folders?
Most servers are set up so that assets can only be used when referred from your own site – to stop bandwidth leeching. However folders can be set aside that don’t obey this rule – e.g. for placing images on other sites, downloading mp3s from RSS feeds and so on.
It works fine, but…
By Elisa (elisa-demonki) on November 12, 2020
return preg_replace( '#(http://.*?/)[.]*?' . SERVER_DOC_ROOT . '#', $protocol . $host . '/' , $url );
in:
return preg_replace( '#(https://.*?/)[.]*?' . SERVER_DOC_ROOT . '#', $protocol . $host . '/' , $url );
Because with http
doesnt work.
Thank you! I like the plugin very much!Just what I was looking for
By lh822184 on January 7, 2017
Broken?
By md004 on October 21, 2016
Plugin broken (v0.24)
By nabeelsyed on September 3, 2016
The plugin used to work but currently breaks the URL to the image. Needs to be fixed.
Sometimes works
By Dariusz Zielonka (WebNatural) on September 3, 2016
But mostly throws PHP notices and breaks the URLs to images.
0.24.1 – Tested compatibility up to WordPress Version 4.7
Added code changes thanks to Ciprian Tepes which included fixing a path issue and making it work with multisite.
0.24 – Tested compatibility up to WordPress Version 4.2.4
Fixed several path issues.
Added generic “FAIL” message instead of not reporting anything.
Create folder using WordPress “wp_mkdir_p” function and should set permissions too.
0.23 – Added drag-n-drop to reorder folders.
Changed root folder variable to WP constant ABSPATH.
* This MAY affect your folder locations – BE SURE TO CHECK THEM!
Formatted source code to be inline with WordPress standards
0.22 – Plugin officially taken over by Tim Berneman (tberneman).
Fixed problem where “remove location” button was not showing up.
* Created “images” folder and put “xit.gif” in it.
* Does NOT delete the folder or any files in it.
Folder is created if it doesn’t exist when adding new location.
0.21 – Fixed problem where folder dropdown was not showing in Media edit screen on newer versions of WordPress.
0.20 – Adopted proper ‘wp_ajax_’ action, to close off a major security issue.
0.14 – Many small fixes (check for existing files, database prefix bug fix, jquery enqueue, 2.8 media library update, path ‘fixing’).
0.11 – First tiny bug fix (no thumbnails caused an error).
0.10 – Just starting out, something to get it working.
- Upload the whole ‘relocate-upload’ folder to the plugins directory.
- Activate the plugin through the ‘Plugins’ menu in WordPress.
- Specify your folders in the settings page.
Reviews
3.4 out of 5 stars
- Version: 0.24.1
- Last updated: 4 years ago
- Active installations: 200
- WordPress version: 2.8
- Tested up to: 5.3.18
- PHP version: false