Title: Relocate Upload
Author: alanft
Published: <strong>2008-10-24</strong>
Last modified: 2020-02-08

---

Szukaj wtyczek

Wtyczka **nie została przetestowana z trzema ostatnimi głównymi wydaniami WordPressa**.
Może nie być już utrzymywana lub obsługiwana, co może skutkować problemem ze zgodnością
z nowszymi wersjami WordPressa.

![](https://s.w.org/plugins/geopattern-icon/relocate-upload.svg)

# Relocate Upload

 Autor: [alanft](https://profiles.wordpress.org/alanft/)

[Pobierz](https://downloads.wordpress.org/plugin/relocate-upload.zip)

 * [Szczegóły](https://pl.wordpress.org/plugins/relocate-upload/#description)
 * [Recenzje](https://pl.wordpress.org/plugins/relocate-upload/#reviews)
 *  [Instalacja](https://pl.wordpress.org/plugins/relocate-upload/#installation)
 * [Rozwój](https://pl.wordpress.org/plugins/relocate-upload/#developers)

 [Wsparcie](https://wordpress.org/support/plugin/relocate-upload/)

## Opis

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,

## Zrzuty ekranu

[⌊A simple menu switches media assets to your favourite locations. All through the
magic of AJAX.⌉⌊A simple menu switches media assets to your favourite locations.
All through the magic of AJAX.⌉[

A simple menu switches media assets to your favourite locations. All through the
magic of AJAX.

[⌊A simple settings page to define the folder locations.⌉⌊A simple settings page
to define the folder locations.⌉[

A simple settings page to define the folder locations.

## Instalacja

 1. Upload the whole 'relocate-upload’ folder to the plugins directory.
 2. Activate the plugin through the 'Plugins’ menu in WordPress.
 3. Specify your folders in the settings page.

## Najczęściej zadawane pytania

  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.

## Recenzje

![](https://secure.gravatar.com/avatar/6ba271e8b62d897ac9a978c4102d0a938aabb488bc35afaeee0e3aab8993fbc3?
s=60&d=retro&r=g)

### 󠀁[It works fine, but…](https://wordpress.org/support/topic/it-works-fine-but-3/)󠁿

 [Elisa](https://profiles.wordpress.org/elisa-demonki/) 2020-11-12

you must change in plugin line 348: 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!

![](https://secure.gravatar.com/avatar/6c68416aa7032cc018e7494a5b389ac21d1362a3fe2bbad7c2d76d1504e40f2e?
s=60&d=retro&r=g)

### 󠀁[Just what I was looking for](https://wordpress.org/support/topic/just-what-i-was-looking-for-280/)󠁿

 [lh822184](https://profiles.wordpress.org/lh822184/) 2017-01-07

I was hesitant to use a plugin with so few active installs and not the greatest 
review rating, but this is exactly what I needed. It took me a little to figure 
out how it works. Just a note, sometimes when I first upload something it will appear
to be in the folder I want, but it is actually in the default location. I have found
that I just need to move it to the default location (it will fail, because that 
is where it already is) and them move it to the correct folder and it will be in
the right spot. Give yourself time to experiment and play with this plugin and you
will find out that it works!

![](https://secure.gravatar.com/avatar/0159d61a02504298bad74a684f94f7164cd36c0a1e05e11fc720a50ae751ded3?
s=60&d=retro&r=g)

### 󠀁[Broken?](https://wordpress.org/support/topic/broken-235/)󠁿

 [md004](https://profiles.wordpress.org/md004/) 2016-10-21

I received an error message: „FAIL: Unknown error occurred.”

![](https://secure.gravatar.com/avatar/f7f3a956e2d06c9c0971ae94f5e8c8266d4d43a38c1e5fb9d7b4bad723ccee75?
s=60&d=retro&r=g)

### 󠀁[Plugin broken (v0.24)](https://wordpress.org/support/topic/plugin-broken-v024/)󠁿

 [nabeelsyed](https://profiles.wordpress.org/nabeelsyed/) 2016-09-03

The plugin used to work but currently breaks the URL to the image. Needs to be fixed.

![](https://secure.gravatar.com/avatar/840f41a1f6003ffc698e0b708924406bfd7e07ed7c5ef7ad68224e167e9cfe9c?
s=60&d=retro&r=g)

### 󠀁[Sometimes works](https://wordpress.org/support/topic/sometimes-works/)󠁿

 [Dariusz Zielonka](https://profiles.wordpress.org/webnatural/) 2016-09-03

But mostly throws PHP notices and breaks the URLs to images.

 [ Przeczytaj 7 recenzji ](https://wordpress.org/support/plugin/relocate-upload/reviews/)

## Kontrybutorzy i deweloperzy

„Relocate Upload” jest oprogramowaniem open source. Poniższe osoby miały wkład w
rozwój wtyczki.

Zaangażowani

 *   [ alanft ](https://profiles.wordpress.org/alanft/)
 *   [ Tim Berneman ](https://profiles.wordpress.org/tberneman/)

[Przetłumacz wtyczkę “Relocate Upload” na swój język.](https://translate.wordpress.org/projects/wp-plugins/relocate-upload)

### Interesuje cię rozwój wtyczki?

[Przeglądaj kod](https://plugins.trac.wordpress.org/browser/relocate-upload/), sprawdź
[repozytorium SVN](https://plugins.svn.wordpress.org/relocate-upload/) lub czytaj
[dziennik rozwoju](https://plugins.trac.wordpress.org/log/relocate-upload/) przez
[RSS](https://plugins.trac.wordpress.org/log/relocate-upload/?limit=100&mode=stop_on_copy&format=rss).

## Rejestr zmian

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.

## Meta

 *  Wersja **0.24.1**
 *  Ostatnia aktualizacja **6 lat temu**
 *  Włączone instalacje **100+**
 *  Wersja WordPressa ** 2.8 lub nowszej **
 *  Testowano do **5.3.21**
 *  Język
 * [English (US)](https://wordpress.org/plugins/relocate-upload/)
 * Tagi
 * [admin](https://pl.wordpress.org/plugins/tags/admin/)[folder](https://pl.wordpress.org/plugins/tags/folder/)
   [move](https://pl.wordpress.org/plugins/tags/move/)[relocate](https://pl.wordpress.org/plugins/tags/relocate/)
   [upload](https://pl.wordpress.org/plugins/tags/upload/)
 *  [Widok zaawansowany](https://pl.wordpress.org/plugins/relocate-upload/advanced/)

## Oceny

 3.4 na 5 gwiazdek.

 *  [  4 recenzje 5-gwiazdkowe     ](https://wordpress.org/support/plugin/relocate-upload/reviews/?filter=5)
 *  [  0 recenzji 4-gwiazdkowych     ](https://wordpress.org/support/plugin/relocate-upload/reviews/?filter=4)
 *  [  0 recenzji 3-gwiazdkowych     ](https://wordpress.org/support/plugin/relocate-upload/reviews/?filter=3)
 *  [  1 recenzja 2-gwiazdkowa     ](https://wordpress.org/support/plugin/relocate-upload/reviews/?filter=2)
 *  [  2 recenzje 1-gwiazdkowe     ](https://wordpress.org/support/plugin/relocate-upload/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/relocate-upload/reviews/#new-post)

[Zobacz wszystkierecenzje.](https://wordpress.org/support/plugin/relocate-upload/reviews/)

## Zaangażowani

 *   [ alanft ](https://profiles.wordpress.org/alanft/)
 *   [ Tim Berneman ](https://profiles.wordpress.org/tberneman/)

## Wsparcie

Masz coś do dodania? Potrzebujesz pomocy?

 [Zobacz forum wsparcia](https://wordpress.org/support/plugin/relocate-upload/)