Title: [Plugin: Overwrite Uploads] Awesome plugin, and a tip for pasting code.
Last modified: August 20, 2016

---

# [Plugin: Overwrite Uploads] Awesome plugin, and a tip for pasting code.

 *  [kilakiwi](https://wordpress.org/support/users/kilakiwi/)
 * (@kilakiwi)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-overwrite-uploads-awesome-plugin-and-a-tip-for-pasting-code/)
 * Does require about 5 minutes of file editing, but totally worth it.
 * One thing, my file.php string that the readme file says to paste the code prior
   to, was different near the end than the string in the readme file indicated. 
   I searched for just the beginning of the string, pasted the code you provided
   in the readme file, and it works absolutely perfectly.
 * This is a huge help when you have images attached to featured posts and you need
   to edit and re-upload the image. No more going back to the post to paste the 
   new file URL in, and no more wasted space on the server with multiple versions
   of similar images. Very nice!
 * [http://wordpress.org/extend/plugins/overwrite-uploads/](http://wordpress.org/extend/plugins/overwrite-uploads/)

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

 *  [zelig](https://wordpress.org/support/users/zelig/)
 * (@zelig)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-overwrite-uploads-awesome-plugin-and-a-tip-for-pasting-code/#post-2312120)
 * I’m trying the plugin for the same reason and I agree it’s very nice.
    But. Many
   pics I have in old posts are miniatures linked to full size pics, and the links
   are in the “attachment ID” format (like …/?attachment_id=548) because I don’t
   want to show the real path of the file. When I update the file overwriting it,
   thanks to this great plugin, the link gets broken, because the new pic is always
   assigned to a new ID number! Is there a way to keep the same ID for the new uploaded
   pic/file, when it overwrites an old one?
 *  Plugin Author [Ian Dunn](https://wordpress.org/support/users/iandunn/)
 * (@iandunn)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-overwrite-uploads-awesome-plugin-and-a-tip-for-pasting-code/#post-2312121)
 * That’s a good point Zelig, I’ll add that to the TODO list. I’m not sure how soon
   I can get to it, though.

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

The topic ‘[Plugin: Overwrite Uploads] Awesome plugin, and a tip for pasting code.’
is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/overwrite-uploads.svg)
 * [Overwrite Uploads](https://wordpress.org/plugins/overwrite-uploads/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/overwrite-uploads/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/overwrite-uploads/)
 * [Active Topics](https://wordpress.org/support/plugin/overwrite-uploads/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/overwrite-uploads/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/overwrite-uploads/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Ian Dunn](https://wordpress.org/support/users/iandunn/)
 * Last activity: [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-overwrite-uploads-awesome-plugin-and-a-tip-for-pasting-code/#post-2312121)
 * Status: not a support question