Title: Overwrite Uploads
Author: Ian Dunn
Published: <strong>Ẹrẹ́nà 19, 2011</strong>
Last modified: Ògún  4, 2025

---

Ṣàwárí àwọn plugin

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

# Overwrite Uploads

 Láti ọwọ́ [Ian Dunn](https://profiles.wordpress.org/iandunn/)

[Ṣe ìgbàsílẹ̀](https://downloads.wordpress.org/plugin/overwrite-uploads.1.2.2.zip)

 * [Àwọn àlàyé](https://yor.wordpress.org/plugins/overwrite-uploads/#description)
 * [Àwọn àgbéyẹ̀wò](https://yor.wordpress.org/plugins/overwrite-uploads/#reviews)
 *  [Ìgbéwọlẹ̀](https://yor.wordpress.org/plugins/overwrite-uploads/#installation)
 * [Ìdàgbàsókè](https://yor.wordpress.org/plugins/overwrite-uploads/#developers)

 [Ìrànlọ́wọ́](https://wordpress.org/support/plugin/overwrite-uploads/)

## Àpèjúwe

By default WordPress doesnÌtumọ̀ Yorùbá: ’t overwrite an existing file if you upload
a new one with the same name and directory. Instead, it appends a number to the 
end of the filename in order to make it unique, _e.g., `filename.jpg` becomes `filename1.
jpg`_.

That isnÌtumọ̀ Yorùbá: ’t always the desired behavior, so this plugin makes it so
that any files uploaded will automatically overwrite existing files **in the same
folder**, rather than creating a second file with a unique name. It will not overwrite
files in other folders.

After activating the plugin, you wonÌtumọ̀ Yorùbá: ’t need to do anything else, 
itÌtumọ̀ Yorùbá: ’ll start working automatically. If you run into problems, please
check the FAQ and existing support forum posts before opening a new support request.

## Ìgbéwọlẹ̀

For help installing this (or any other) WordPress plugin, please read the [Managing Plugins](https://codex.wordpress.org/Managing_Plugins)
article on the Codex.

Once the plugin is installed and activated, it will start to work automatically.

## FAQ

### Why do I see multiple copies of the file in the Media Library

WordPress allows files to have the same name if theyÌtumọ̀ Yorùbá: ’re not in the
same directory. So, `wp-content/uploads/2013/11/pizza.jpg` can live alongside `wp-
content/uploads/2013/12/pizza.jpg`. This plugin only deletes existing files if they
are in the same folder that the new file will be placed in.

Also, only Editor and Administrator accounts can overwrite the uploads of other 
users. You can customize this behavior using the `ovup_can_overwrite_upload` filter.

### Can I make a donation to support the plugin?

I do this as a way to give back to the WordPress community, so I donÌtumọ̀ Yorùbá:’
t want to take any donations, but if youÌtumọ̀ Yorùbá: ’d like to give something
IÌtumọ̀ Yorùbá: ’d encourage you to make a microloan with [Kiva](http://www.kiva.org).

### Do you support this plugin?

IÌtumọ̀ Yorùbá: ’m happy to fix reproducible bugs, but I donÌtumọ̀ Yorùbá: ’t have
time to help you customize the plugin to fit your specific needs.

## Àwọn àgbéyẹ̀wò

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

### 󠀁[Thank you](https://wordpress.org/support/topic/thank-you-2385/)󠁿

 [Kimber254](https://profiles.wordpress.org/kimber254/) Èbìbí 28, 2020 1 ìdáhùn

Thank you for updating the plugin.

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

### 󠀁[Still kinda working.](https://wordpress.org/support/topic/still-kinda-working/)󠁿

 [prohaska](https://profiles.wordpress.org/prohaska/) Ṣẹrẹ 7, 2020

ItÌtumọ̀ Yorùbá: ’s kind of working. I uploaded a bulk of 150 pix. all with a very
simple name A10.jpg A11.jpg and so on. The Plugin worked. Some old versions of the
images still remain in some part of the website. Maybe a caching problem…. But so
far so good. PS: Newest Version of WordPress Ìtumọ̀ Yorùbá: – Jan. 2020 und WooCommerce
2020…

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

### 󠀁[Was a great plugin but doesnÌtumọ̀ Yorùbá: ’t work any more](https://wordpress.org/support/topic/was-a-great-plugin-but-doesnt-work-any-more/)󠁿

 [sorayabxl](https://profiles.wordpress.org/sorayabxl/) Èbìbí 17, 2019

I used this plugin for years and found it super helpful but it doesnÌtumọ̀ Yorùbá:’
t work any more with WordPress 5.2 and I had to de-install it. A pity it wasnÌtumọ̀
Yorùbá: ’t maintained!

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

### 󠀁[Doesn't work](https://wordpress.org/support/topic/doesnt-work-1211/)󠁿

 [pcp81215](https://profiles.wordpress.org/percivalconstantine/) Ọwẹ́wẹ̀ 3, 2016
1 ìdáhùn

This plugin seems incompatible with the current version of Wordpress. I installed
it and tried to upload an image to overwrite another one…and there was no change.
Wordpress preserved the initial upload just as it normally does.

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

### 󠀁[Clear as mud](https://wordpress.org/support/topic/clear-as-mud-1/)󠁿

 [Matt Peskett](https://profiles.wordpress.org/djmathu/) Ọwẹ́wẹ̀ 3, 2016 1 ìdáhùn

CouldnÌtumọ̀ Yorùbá: ’t find any instructions on how this is supposed to work nor
any trace of it inside admin after install and activation.

 [ Ka gbogbo àwọn àgbéyẹ̀wò 8 ](https://wordpress.org/support/plugin/overwrite-uploads/reviews/)

## Àwọn Olùkópa & Olùgbéejáde

“Overwrite Uploads” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe 
ìkópa sí plugin yìí.

Àwọn Olùkópa

 *   [ Ian Dunn ](https://profiles.wordpress.org/iandunn/)

[Túmọ̀ “Overwrite Uploads” sí èdè rẹ.](https://translate.wordpress.org/projects/wp-plugins/overwrite-uploads)

### Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?

[Ṣàwárí koodu](https://plugins.trac.wordpress.org/browser/overwrite-uploads/), ṣàyẹ̀wò
[ibi ìpamọ́ SVN](https://plugins.svn.wordpress.org/overwrite-uploads/), tàbí ṣe 
àgbékalẹ̀ sí [àkọsílẹ̀ ìdàgbàsókè](https://plugins.trac.wordpress.org/log/overwrite-uploads/)
nípasẹ̀ [RSS](https://plugins.trac.wordpress.org/log/overwrite-uploads/?limit=100&mode=stop_on_copy&format=rss).

## Àkọsílẹ̀ àwọn àyípadà

#### 1.2.2 (2017-04-01)

 * [SECURITY] Fix a bug where Author accounts could overwrite media created by editors
   and administrators. If desired, the previous behavior can be restored using the`
   ovup_can_overwrite_upload` filter. Props [phycox69](https://hackerone.com/phycox69).

#### 1.2 (2017-04-01)

 * [NEW] Added support for sideloaded images (typically done by plugins), in addition
   to regular manual uploads. Props wayneallen-1
 * [FIX] Filenames with spaces and other non-standard characters are now overwritten.
   Props ascottmccauley

#### 1.1 (2013-12-14)

 * [NEW] Delete existing attachments before a new one is uploaded. This avoids the
   need to modify WordPress core files.
 * [UPDATE] General code cleanup and modernization
 * [UPDATE] Removed unnecessary debugging method, activation logic and admin notices
   support
 * [UPDATE] Moved requirements check into bootstrap script
 * [UPDATE] Moved overwrite-uploads.php into classes directory
 * [UPDATE] Fixed improperly capitalized overwriteUploads class name

#### 1.0.2

 * Fixed bug where old Media Library entries werenÌtumọ̀ Yorùbá: ’t removed if the‘
   Organize my uploads into year and month folders’ setting was enabled.
 * Setting removed because itÌtumọ̀ Yorùbá: ’s unnecessary. Plugin will overwrite
   uploads if activated, and wonÌtumọ̀ Yorùbá: ’t if it isnÌtumọ̀ Yorùbá: ’t.

#### 1.0.1

 * Added network-wide activation for WPMS blogs

#### 1.0

 * Initial release

## Àkójọpọ̀ Meta

 *  Ẹ̀yà **1.2.2**
 *  Ìgbàgbọ́hùn tó kẹ́yìn **oṣù 11 sẹ́yìn**
 *  Àwọn ìgbéwọlẹ̀ tó ṣiṣẹ́ **1,000+**
 *  Ẹ̀yà WordPress ** 2.9 tàbí ju bẹ́ẹ̀ lọ **
 *  Dánwò dé **6.8.5**
 *  Èdè
 * [English (US)](https://wordpress.org/plugins/overwrite-uploads/)
 * Àwọn àmì
 * [files](https://yor.wordpress.org/plugins/tags/files/)[media library](https://yor.wordpress.org/plugins/tags/media-library/)
   [overwrite](https://yor.wordpress.org/plugins/tags/overwrite/)[unique](https://yor.wordpress.org/plugins/tags/unique/)
   [uploads](https://yor.wordpress.org/plugins/tags/uploads/)
 *  [Ìwòye Tó Péye](https://yor.wordpress.org/plugins/overwrite-uploads/advanced/)

## Àwọn ìbò

 3.4 lára àwọn ìràwọ̀ 5.

 *  [  4 5-star reviews     ](https://wordpress.org/support/plugin/overwrite-uploads/reviews/?filter=5)
 *  [  1 4-star review     ](https://wordpress.org/support/plugin/overwrite-uploads/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/overwrite-uploads/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/overwrite-uploads/reviews/?filter=2)
 *  [  3 1-star reviews     ](https://wordpress.org/support/plugin/overwrite-uploads/reviews/?filter=1)

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

[See all reviews](https://wordpress.org/support/plugin/overwrite-uploads/reviews/)

## Àwọn Olùkópa

 *   [ Ian Dunn ](https://profiles.wordpress.org/iandunn/)

## Ìrànlọ́wọ́

Nǹkan wà tí o fẹ́ sọ? Ṣé o nílò ìrànlọ́wọ́?

 [Wo àpéjọ ìrànlọ́wọ́](https://wordpress.org/support/plugin/overwrite-uploads/)

## Ṣe ìtọrẹ

Ṣé o fẹ́ ṣe àtìlẹ́yìn fún ìlọsíwájú plugin yìí?

 [ Ṣe ìtọrẹ sí plugin yìí ](https://kiva.org)