{"id":65816,"date":"2013-05-09T13:51:40","date_gmt":"2013-05-09T17:51:40","guid":{"rendered":"http:\/\/www.bu.edu\/tech\/?page_id=65816"},"modified":"2022-03-10T09:58:36","modified_gmt":"2022-03-10T14:58:36","slug":"replace-media","status":"publish","type":"page","link":"https:\/\/www.bu.edu\/tech\/services\/cccs\/websites\/www\/wordpress\/how-to\/replace-media\/","title":{"rendered":"Replace existing files in the Media Library"},"content":{"rendered":"<p>The Enable Media Replace plugin allows you to replace an existing file in your Media Library, and the new file will be uploaded to the same location as the original. Use the same filename as the file you are replacing. This allows you to replace files without having to change the links that are pointing to them.<\/p>\n<p>To start using Enable Media Replace, <a href=\"https:\/\/www.bu.edu\/tech\/contact\/\" class=\"myhelp_activate\">please contact us<\/a> and we will activate the plugin for you.<\/p>\n<p><strong>Note:<\/strong> This feature is only currently available using the &#8220;list view&#8221; in WordPress Media Library. The &#8220;grid view&#8221; does not support this feature.<\/p>\n<h3 id=\"replace\">To replace an existing file in the Media Library:<\/h3>\n<ol>\n<li>From the <b>Media <\/b>section of the WordPress Dashboard&#8217;s left menu, select <strong>Library<\/strong>.<\/li>\n<li>Make sure that you are using the list view and not the grid view.<br \/>\n<a href=\"\/tech\/files\/2017\/10\/Screenshot-2017-10-11-12.43.05.png\"><img loading=\"lazy\" src=\"\/tech\/files\/2017\/10\/Screenshot-2017-10-11-12.43.05.png\" alt=\"Enable Media Replace - list view\" class=\"alignnone wp-image-110557\" width=\"163\" height=\"130\" \/><\/a><\/li>\n<li>Locate the file you need to replace.<\/li>\n<li>Hover your cursor over the item and click the <strong>Replace Media<\/strong>\u00a0link.<br \/>\n<a href=\"\/tech\/files\/2017\/10\/Screenshot-2017-10-11-12.49.34.png\"><img loading=\"lazy\" src=\"\/tech\/files\/2017\/10\/Screenshot-2017-10-11-12.49.34.png\" alt=\"Enable Media Replace - replace media button\" class=\"alignnone size-full wp-image-110558\" width=\"609\" height=\"262\" \/><\/a><\/li>\n<li>Click the <strong>Choose File<\/strong> button<strong>.<br \/>\n<\/strong><a href=\"\/tech\/files\/2017\/10\/Screenshot-2017-10-11-13.04.33.png\"><img loading=\"lazy\" src=\"\/tech\/files\/2017\/10\/Screenshot-2017-10-11-13.04.33-636x233.png\" alt=\"Enable Media Replace - choose file\" class=\"alignnone size-medium wp-image-110559\" width=\"636\" height=\"233\" srcset=\"https:\/\/www.bu.edu\/tech\/files\/2017\/10\/Screenshot-2017-10-11-13.04.33-636x233.png 636w, https:\/\/www.bu.edu\/tech\/files\/2017\/10\/Screenshot-2017-10-11-13.04.33-768x281.png 768w, https:\/\/www.bu.edu\/tech\/files\/2017\/10\/Screenshot-2017-10-11-13.04.33.png 792w\" sizes=\"(max-width: 636px) 100vw, 636px\" \/><\/a><\/li>\n<li>From the file browser that appears, choose the replacement file you&#8217;d like to upload.<br \/>\n<em>If you are replacing an image, you can only upload a new image file.<\/em><\/li>\n<li>Click the <strong>Upload<\/strong> button to replace your media item.<br \/>\n<a href=\"\/tech\/files\/2017\/10\/Screenshot-2017-10-11-13.09.14.png\"><img loading=\"lazy\" src=\"\/tech\/files\/2017\/10\/Screenshot-2017-10-11-13.09.14-636x232.png\" alt=\"Screenshot 2017-10-11 13.09.14\" class=\"alignnone size-medium wp-image-110560\" width=\"636\" height=\"232\" srcset=\"https:\/\/www.bu.edu\/tech\/files\/2017\/10\/Screenshot-2017-10-11-13.09.14-636x232.png 636w, https:\/\/www.bu.edu\/tech\/files\/2017\/10\/Screenshot-2017-10-11-13.09.14-768x280.png 768w, https:\/\/www.bu.edu\/tech\/files\/2017\/10\/Screenshot-2017-10-11-13.09.14.png 796w\" sizes=\"(max-width: 636px) 100vw, 636px\" \/><\/a><br \/>\nOnce uploaded, the old file in your media library will be replaced with the new one.\u00a0There is no way to undo a media replacement, so proceed carefully.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>The Enable Media Replace plugin allows you to replace an existing file in your Media Library, and the new file will be uploaded to the same location as the original. Use the same filename as the file you are replacing. This allows you to replace files without having to change the links that are pointing&#8230;<\/p>\n","protected":false},"author":1303,"featured_media":0,"parent":304,"menu_order":38,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/www.bu.edu\/tech\/wp-json\/wp\/v2\/pages\/65816"}],"collection":[{"href":"https:\/\/www.bu.edu\/tech\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.bu.edu\/tech\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.bu.edu\/tech\/wp-json\/wp\/v2\/users\/1303"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bu.edu\/tech\/wp-json\/wp\/v2\/comments?post=65816"}],"version-history":[{"count":11,"href":"https:\/\/www.bu.edu\/tech\/wp-json\/wp\/v2\/pages\/65816\/revisions"}],"predecessor-version":[{"id":139176,"href":"https:\/\/www.bu.edu\/tech\/wp-json\/wp\/v2\/pages\/65816\/revisions\/139176"}],"up":[{"embeddable":true,"href":"https:\/\/www.bu.edu\/tech\/wp-json\/wp\/v2\/pages\/304"}],"wp:attachment":[{"href":"https:\/\/www.bu.edu\/tech\/wp-json\/wp\/v2\/media?parent=65816"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}