Title: Replace not working
Last modified: July 19, 2020

---

# Replace not working

 *  Resolved [Florin Rosoga](https://wordpress.org/support/users/albasiero/)
 * (@albasiero)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/replace-not-working/)
 * I tried several times to replace and each time your plugin says that replace 
   was successful, but I have still the old version of the jpeg file and the old
   version is also displayed where the image is embeded. Am I doing something wrong?

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

 *  Plugin Support [Gerard Blanco](https://wordpress.org/support/users/sixaxis/)
 * (@sixaxis)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/replace-not-working/#post-13143589)
 * Hi Florin!
 * Could you please take a look at this article? I’m sure it will be helpful: [In Enable Media Replace the image isn’t replaced. Why?](https://help.shortpixel.com/article/158-in-enable-media-replace-the-image-isnt-replaced-why)
 * Cheers!
 *  [blazmate](https://wordpress.org/support/users/blazmate/)
 * (@blazmate)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/replace-not-working/#post-13680329)
 * Replace is ACTUALLY not replacing file. I’ve done it many times now.
 * —— Keep name ———–
    Replace file A with B. Keep name.
 * Open file A, it is still old A.
 * Check filesystem. It is still old A.
 * Do Replace file A with B AGAIN. Now Open file A, it is B.
    Check filesystem, 
   it is B.
 * ——- Change name ———-
    If you do the same using Change name, something else happens.
 * File A is changed to B with new name B.
 * Check filesystem. File A + B both exist.
 * This is nothing to do with cache. It’s a recent bug/conflict.
 * —
 * Because of this, now I found I have some orphan files. How can I find these, 
   both file.jpg and file100x100.jpg etc, that’s not used in WP?
    -  This reply was modified 5 years, 6 months ago by [blazmate](https://wordpress.org/support/users/blazmate/).
 *  [blazmate](https://wordpress.org/support/users/blazmate/)
 * (@blazmate)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/replace-not-working/#post-13995749)
 * This is useless.
    It’s replacing the file, but leaving old files there. Completely
   unusable now as it’s littering the filesystem with orphan files.
 * Given it takes ZERO effort to test and find this bug, I can only assume this 
   bug is worth less than that effort.
 *  Plugin Support [Gerard Blanco](https://wordpress.org/support/users/sixaxis/)
 * (@sixaxis)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/replace-not-working/#post-14002878)
 * Hi, blazmate.
 * From our tests and reports from other clients, we haven’t found a bug with the
   plugin. The replacing is working correctly from our side, so I assume there must
   be some kind of issue specific to your website.
 * Let’s continue the discussion on the thread you recently opened 🙂
    [https://wordpress.org/support/topic/replaces-but-leaves-orphan-files-on-your-system/](https://wordpress.org/support/topic/replaces-but-leaves-orphan-files-on-your-system/)
 * We’ll get back to you as soon as possible.
 * Best,

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

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

 * ![](https://ps.w.org/enable-media-replace/assets/icon-256x256.png?rev=1940728)
 * [Enable Media Replace](https://wordpress.org/plugins/enable-media-replace/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/enable-media-replace/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/enable-media-replace/)
 * [Active Topics](https://wordpress.org/support/plugin/enable-media-replace/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/enable-media-replace/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/enable-media-replace/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Gerard Blanco](https://wordpress.org/support/users/sixaxis/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/replace-not-working/#post-14002878)
 * Status: resolved