{"id":1055,"date":"2021-02-27T18:38:26","date_gmt":"2021-02-27T23:38:26","guid":{"rendered":"http:\/\/websitepsychiatrist.com\/?p=1055"},"modified":"2025-03-20T09:37:18","modified_gmt":"2025-03-20T13:37:18","slug":"tidy-up-that-media-library","status":"publish","type":"post","link":"https:\/\/websitepsychiatrist.com\/tidy-up-that-media-library\/","title":{"rendered":"Tidy up that Media Library"},"content":{"rendered":"\n<p>We were working with a customer that had a ginormous media library.<\/p>\n\n\n\n<p>We found the &#8220;<a href=\"https:\/\/wordpress.org\/plugins\/media-cleaner\/\" class=\"rank-math-link\" target=\"_blank\" rel=\"noopener\">Media Cleaner<\/a>&#8221; plugin and it worked like a charm.<\/p>\n\n\n\n<p>We removed over a gig of images and over 5800 entries in their media library.<\/p>\n\n\n\n<p>Be warned, it took FOREVER to run. But it seemed to do a perfect job. We couldn&#8217;t find any pages with broken images. So we&#8217;ll take a long processing time to ensure an excellent job. &#8216;Cause remember, if you rush a miracle man, you get rotten miracles.<\/p>\n\n\n\n<p>Bonus tip. Since the process takes so long to run, we ran the investigation phase, then ran a backup of the site before we had the plugin purge all of the orphan images. That way, you don&#8217;t risk restoring a backup that could be 8-12 hours out of date.<\/p>\n\n\n\n<p>&#8220;Thank you&#8221; to Jordy Meow for such an excellent plugin! <\/p>\n","protected":false},"excerpt":{"rendered":"<p>We were working with a customer that had a ginormous media library. We found the &#8220;Media Cleaner&#8221; plugin and it worked like a charm. We removed over a gig of images and over 5800 entries in their media library. Be warned, it took FOREVER to run. But it seemed to do a perfect job. We &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"Tidy up that Media Library\" class=\"read-more button\" href=\"https:\/\/websitepsychiatrist.com\/tidy-up-that-media-library\/#more-1055\" aria-label=\"Read more about Tidy up that Media Library\">Read more<\/a><\/p>\n","protected":false},"author":13,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-1055","post","type-post","status-publish","format-standard","hentry","category-plugins","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-50"],"_links":{"self":[{"href":"https:\/\/websitepsychiatrist.com\/api\/wp\/v2\/posts\/1055","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/websitepsychiatrist.com\/api\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/websitepsychiatrist.com\/api\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/websitepsychiatrist.com\/api\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/websitepsychiatrist.com\/api\/wp\/v2\/comments?post=1055"}],"version-history":[{"count":1,"href":"https:\/\/websitepsychiatrist.com\/api\/wp\/v2\/posts\/1055\/revisions"}],"predecessor-version":[{"id":1056,"href":"https:\/\/websitepsychiatrist.com\/api\/wp\/v2\/posts\/1055\/revisions\/1056"}],"wp:attachment":[{"href":"https:\/\/websitepsychiatrist.com\/api\/wp\/v2\/media?parent=1055"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/websitepsychiatrist.com\/api\/wp\/v2\/categories?post=1055"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/websitepsychiatrist.com\/api\/wp\/v2\/tags?post=1055"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}