{"id":1034,"date":"2017-08-11T14:11:15","date_gmt":"2017-08-11T14:11:15","guid":{"rendered":"http:\/\/www.stcleaner.com\/blog\/?p=1034"},"modified":"2018-03-01T12:39:21","modified_gmt":"2018-03-01T12:39:21","slug":"rename-wordpress-media-files","status":"publish","type":"post","link":"https:\/\/www.stcleaner.com\/blog\/2017\/08\/11\/rename-wordpress-media-files\/","title":{"rendered":"Rename WordPress Media Files Now"},"content":{"rendered":"<p><b>WordPress<\/b><span style=\"font-weight: 400;\"> is a content management system widely used by across the world to publish content on websites. <\/span><\/p>\n<p><!--more--><\/p>\n<p><span style=\"font-weight: 400;\">The reason for the high degree of popularity enjoyed by <\/span><b>WordPress<\/b><span style=\"font-weight: 400;\"> is that it incorporates within itself a large number of helpful plugins, rolls out frequent updates and is extremely flexible to get around. However, it can still prove to be a bit challenging with regards to certain functions. This gives birth to the need for specific workarounds that do the trick without much hassle. This guide teaches the readers how to rename media files even if they are attached to a post. Since it involves renaming files, accessing the file server via <\/span><b>FTP Manager<\/b><span style=\"font-weight: 400;\"> is also required. Renaming has never been an easier task. If you wish to rename WordPress related files on the desktop, use Easy File Renamer software. It has 8+ renaming rules with cloud renaming capability. You will get a free duplicate file finder software along with it.<\/span><\/p>\n<blockquote>\n<p style=\"text-align: center;\"><a href=\"https:\/\/easyfilerenamer.com\/download\/ibx\" target=\"_blank\"><strong><span style=\"text-decoration: underline;\"> Rename WordPress Files on Your Desktop<\/span><\/strong><\/a><\/p>\n<p style=\"text-align: center;\"><strong>Easy File Renamer is Verisign Secured<\/strong><\/p>\n<\/blockquote>\n<p style=\"text-align: left;\">\n<h2><b>Solution<\/b><\/h2>\n<ol>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">First and foremost, visit the <\/span><b>Media Library<\/b><span style=\"font-weight: 400;\"> and note down the names of the files you wish to rename.<br \/>\n<\/span><b>&lt;YourSite&gt;\/wordpress\/wp-admin\/upload.php<\/b><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Now switch to <\/span><b>Plugins<\/b><span style=\"font-weight: 400;\"> -&gt; <\/span><b>Add New<\/b><span style=\"font-weight: 400;\"> to install new plugins directly from the <\/span><b>WordPress<\/b><span style=\"font-weight: 400;\"><span style=\"font-weight: 400;\"> plugin repository.<br \/>\n<\/span><\/span><\/p>\n<p><figure id=\"attachment_1035\" class=\"thumbnail wp-caption aligncenter\" style=\"width: 160px\"><a href=\"http:\/\/www.stcleaner.com\/blog\/wp-content\/uploads\/2017\/08\/image1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1035\" src=\"https:\/\/www.stcleaner.com\/blog\/wp-content\/uploads\/2017\/08\/image1.png\" alt=\"Selecting to add new plugins\" width=\"150\" height=\"126\" \/><\/a><figcaption class=\"caption wp-caption-text\"><strong>Selecting to add new plugins<\/strong><\/figcaption><\/figure><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Search for the plugin named <\/span><b>Better Search Replace<\/b><span style=\"font-weight: 400;\">.<br \/>\n<a href=\"http:\/\/www.stcleaner.com\/blog\/wp-content\/uploads\/2017\/08\/image3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1036\" src=\"https:\/\/www.stcleaner.com\/blog\/wp-content\/uploads\/2017\/08\/image3.png\" alt=\"image3\" width=\"280\" height=\"71\" \/><\/a><\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Download, install and activate the plugin via <\/span><b>WordPress<\/b><span style=\"font-weight: 400;\">. Since this plugin makes changes in the <\/span><b>WordPress<\/b><span style=\"font-weight: 400;\"><span style=\"font-weight: 400;\"> main database, it is strongly advised to back up the database prior to using this plugin.<br \/>\n<\/span><\/span><\/p>\n<p><figure id=\"attachment_1037\" class=\"thumbnail wp-caption aligncenter\" style=\"width: 579px\"><a href=\"http:\/\/www.stcleaner.com\/blog\/wp-content\/uploads\/2017\/08\/image2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1037\" src=\"https:\/\/www.stcleaner.com\/blog\/wp-content\/uploads\/2017\/08\/image2.png\" alt=\"Install the plugin\" width=\"569\" height=\"248\" srcset=\"https:\/\/www.stcleaner.com\/blog\/wp-content\/uploads\/2017\/08\/image2.png 569w, https:\/\/www.stcleaner.com\/blog\/wp-content\/uploads\/2017\/08\/image2-300x131.png 300w\" sizes=\"auto, (max-width: 569px) 100vw, 569px\" \/><\/a><figcaption class=\"caption wp-caption-text\"><strong>Install the plugin<\/strong><\/figcaption><\/figure><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Now search for <\/span><b>Regenerate Thumbnails<\/b><span style=\"font-weight: 400;\">. Download, install and activate it like you treated with the former one.<br \/>\n<a href=\"http:\/\/www.stcleaner.com\/blog\/wp-content\/uploads\/2017\/08\/image5.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1038\" src=\"https:\/\/www.stcleaner.com\/blog\/wp-content\/uploads\/2017\/08\/image5.png\" alt=\"image5\" width=\"397\" height=\"76\" srcset=\"https:\/\/www.stcleaner.com\/blog\/wp-content\/uploads\/2017\/08\/image5.png 397w, https:\/\/www.stcleaner.com\/blog\/wp-content\/uploads\/2017\/08\/image5-300x57.png 300w\" sizes=\"auto, (max-width: 397px) 100vw, 397px\" \/><\/a><br \/>\n<a href=\"http:\/\/www.stcleaner.com\/blog\/wp-content\/uploads\/2017\/08\/image4.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1039\" src=\"https:\/\/www.stcleaner.com\/blog\/wp-content\/uploads\/2017\/08\/image4.png\" alt=\"image4\" width=\"572\" height=\"249\" srcset=\"https:\/\/www.stcleaner.com\/blog\/wp-content\/uploads\/2017\/08\/image4.png 572w, https:\/\/www.stcleaner.com\/blog\/wp-content\/uploads\/2017\/08\/image4-300x131.png 300w\" sizes=\"auto, (max-width: 572px) 100vw, 572px\" \/><\/a><\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Now that both the plugins have been installed, switch to <\/span><b>Tools <\/b><span style=\"font-weight: 400;\">-&gt;<\/span><b> Better Search Replace<\/b><span style=\"font-weight: 400;\"> where you can rename the media files in the <\/span><b>WordPress<\/b><span style=\"font-weight: 400;\"> database.<br \/>\n<a href=\"http:\/\/www.stcleaner.com\/blog\/wp-content\/uploads\/2017\/08\/image7.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1040\" src=\"https:\/\/www.stcleaner.com\/blog\/wp-content\/uploads\/2017\/08\/image7.png\" alt=\"image7\" width=\"163\" height=\"199\" \/><\/a><\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Type the current name of the media file in the <\/span><b>Search for<\/b><span style=\"font-weight: 400;\"> textbox. Likewise, type the new name in the <\/span><b>Replace with<\/b><span style=\"font-weight: 400;\"> textbox. Select both the <\/span><b>wp_postmeta<\/b><span style=\"font-weight: 400;\"> and <\/span><b>wp_posts<\/b><span style=\"font-weight: 400;\"> in the <\/span><b>Select tables<\/b><span style=\"font-weight: 400;\"><span style=\"font-weight: 400;\"> options.<br \/>\n<\/span><\/span><\/p>\n<p><figure id=\"attachment_1041\" class=\"thumbnail wp-caption aligncenter\" style=\"width: 585px\"><a href=\"http:\/\/www.stcleaner.com\/blog\/wp-content\/uploads\/2017\/08\/image6.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1041\" src=\"https:\/\/www.stcleaner.com\/blog\/wp-content\/uploads\/2017\/08\/image6.png\" alt=\"Enter in the relevant information and select the mentioned tables\" width=\"575\" height=\"443\" srcset=\"https:\/\/www.stcleaner.com\/blog\/wp-content\/uploads\/2017\/08\/image6.png 575w, https:\/\/www.stcleaner.com\/blog\/wp-content\/uploads\/2017\/08\/image6-300x231.png 300w\" sizes=\"auto, (max-width: 575px) 100vw, 575px\" \/><\/a><figcaption class=\"caption wp-caption-text\"><strong>Enter the relevant information and select the mentioned tables<\/strong><\/figcaption><\/figure><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Click the <\/span><b>Run Search\/Replace<\/b><span style=\"font-weight: 400;\"> button. The free version doesn\u2019t provide to preview the changes, however, its still shows the number of tables to be affected once the changes are applied. Since only 2 tables have been selected, it should show only 2 changes in the <\/span><b>Dry Run<\/b><span style=\"font-weight: 400;\"> area if the image hasn\u2019t been attached yet. If the media file is attached to any post, <\/span><b>WordPress<\/b><span style=\"font-weight: 400;\"> will show up the total number of instances it has been attached to the post(s). If everything is in the right order, uncheck <\/span><b>Dry Run<\/b><span style=\"font-weight: 400;\"> and click <\/span><b>Run Search\/Replace<\/b><span style=\"font-weight: 400;\"><span style=\"font-weight: 400;\"> to make the changes permanent in the database.<br \/>\n<\/span><\/span><\/p>\n<p><figure id=\"attachment_1042\" class=\"thumbnail wp-caption aligncenter\" style=\"width: 751px\"><a href=\"http:\/\/www.stcleaner.com\/blog\/wp-content\/uploads\/2017\/08\/image9.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1042\" src=\"https:\/\/www.stcleaner.com\/blog\/wp-content\/uploads\/2017\/08\/image9.png\" alt=\"Select the Run Search\/Replace button\" width=\"741\" height=\"113\" srcset=\"https:\/\/www.stcleaner.com\/blog\/wp-content\/uploads\/2017\/08\/image9.png 741w, https:\/\/www.stcleaner.com\/blog\/wp-content\/uploads\/2017\/08\/image9-300x46.png 300w\" sizes=\"auto, (max-width: 741px) 100vw, 741px\" \/><\/a><figcaption class=\"caption wp-caption-text\"><strong>Select the Run Search\/Replace button<\/strong><\/figcaption><\/figure><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Now access the file system via any <\/span><b>FTP Client<\/b><span style=\"font-weight: 400;\">. <\/span><b>MobaXterm<\/b><span style=\"font-weight: 400;\"> is one such good example which is very helpful. Enter in the <\/span><b>FTP<\/b><span style=\"font-weight: 400;\"> login credentials to gain access to the file server.<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Navigate to <\/span><b>wp-content<\/b><span style=\"font-weight: 400;\"> -&gt; <\/span><b>uploads<\/b><span style=\"font-weight: 400;\"> -&gt; <\/span><b>&lt;year in which the media file was uploaded&gt;<\/b><span style=\"font-weight: 400;\"> -&gt; <\/span><b>&lt;month in which the media file was uploaded&gt;<\/b><span style=\"font-weight: 400;\">.<br \/>\n<a href=\"http:\/\/www.stcleaner.com\/blog\/wp-content\/uploads\/2017\/08\/image8.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1043\" src=\"https:\/\/www.stcleaner.com\/blog\/wp-content\/uploads\/2017\/08\/image8.png\" alt=\"image8\" width=\"395\" height=\"54\" srcset=\"https:\/\/www.stcleaner.com\/blog\/wp-content\/uploads\/2017\/08\/image8.png 395w, https:\/\/www.stcleaner.com\/blog\/wp-content\/uploads\/2017\/08\/image8-300x41.png 300w\" sizes=\"auto, (max-width: 395px) 100vw, 395px\" \/><\/a><\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Locate the image\/media file and rename it with the same name you used in the <\/span><b>Replace with<\/b><span style=\"font-weight: 400;\"> textbox in step # 7.<br \/>\n<a href=\"http:\/\/www.stcleaner.com\/blog\/wp-content\/uploads\/2017\/08\/image12.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1044\" src=\"https:\/\/www.stcleaner.com\/blog\/wp-content\/uploads\/2017\/08\/image12.png\" alt=\"image12\" width=\"116\" height=\"141\" \/><\/a><\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">Return to the <\/span><b>WordPress<\/b><span style=\"font-weight: 400;\"> admin panel, navigate to <\/span><b>Tools<\/b><span style=\"font-weight: 400;\"> -&gt; <\/span><b>Regen. Thumbnails<\/b><span style=\"font-weight: 400;\"> and click on <\/span><b>Regenerate All Thumbnails<\/b><span style=\"font-weight: 400;\"><span style=\"font-weight: 400;\"> to generate thumbnails for of all the images.<br \/>\n<a href=\"http:\/\/www.stcleaner.com\/blog\/wp-content\/uploads\/2017\/08\/image10.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1045\" src=\"https:\/\/www.stcleaner.com\/blog\/wp-content\/uploads\/2017\/08\/image10.png\" alt=\"image10\" width=\"162\" height=\"189\" \/><\/a><br \/>\n<\/span><\/span><\/p>\n<p><figure id=\"attachment_1046\" class=\"thumbnail wp-caption aligncenter\" style=\"width: 229px\"><a href=\"http:\/\/www.stcleaner.com\/blog\/wp-content\/uploads\/2017\/08\/image11.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1046\" src=\"https:\/\/www.stcleaner.com\/blog\/wp-content\/uploads\/2017\/08\/image11.png\" alt=\"Regenerating all thumbnails\" width=\"219\" height=\"78\" \/><\/a><figcaption class=\"caption wp-caption-text\"><strong>Regenerating all thumbnails<\/strong><\/figcaption><\/figure><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">If there are a large number of images, it\u2019s better to generate a thumbnail of the respective media file only. In this case, navigate to <\/span><b>Media<\/b><span style=\"font-weight: 400;\"> -&gt; <\/span><b>Library<\/b><span style=\"font-weight: 400;\">, and locate the renamed media file. Now locate the <\/span><b>Regenerate Thumbnails<\/b><span style=\"font-weight: 400;\"> link and click it to regenerate a thumbnail of this particular media file only.<br \/>\n<a href=\"http:\/\/www.stcleaner.com\/blog\/wp-content\/uploads\/2017\/08\/image13.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1047\" src=\"https:\/\/www.stcleaner.com\/blog\/wp-content\/uploads\/2017\/08\/image13.png\" alt=\"image13\" width=\"475\" height=\"101\" srcset=\"https:\/\/www.stcleaner.com\/blog\/wp-content\/uploads\/2017\/08\/image13.png 475w, https:\/\/www.stcleaner.com\/blog\/wp-content\/uploads\/2017\/08\/image13-300x64.png 300w\" sizes=\"auto, (max-width: 475px) 100vw, 475px\" \/><\/a><\/span><\/li>\n<li style=\"font-weight: 400;\">Now clear the cache of the browser so that you can check out all the changes live. Press <b>Ctrl<\/b><span style=\"font-weight: 400;\"> + <\/span><b>F5<\/b><span style=\"font-weight: 400;\"><span style=\"font-weight: 400;\"> key on the keyboard to do so in a flash.<br \/>\n<\/span><\/span><\/p>\n<p><figure id=\"attachment_1048\" class=\"thumbnail wp-caption aligncenter\" style=\"width: 244px\"><a href=\"http:\/\/www.stcleaner.com\/blog\/wp-content\/uploads\/2017\/08\/image14.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-1048\" src=\"https:\/\/www.stcleaner.com\/blog\/wp-content\/uploads\/2017\/08\/image14.png\" alt=\"Emptying the cache and going for a hard reload\" width=\"234\" height=\"122\" \/><\/a><figcaption class=\"caption wp-caption-text\"><strong>Emptying the cache and going for a hard reload<\/strong><\/figcaption><\/figure><\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>WordPress is a content management system widely used by across the world to publish content on websites.<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[31],"tags":[640,638,639,637],"class_list":["post-1034","post","type-post","status-publish","format-standard","hentry","category-solutions","tag-help-on-renaming-wordpress-media-files","tag-how-to-easily-rename-wordpress-media-files","tag-rename-wordpress-media-files-with-ease","tag-renaming-wordpress-media-files"],"_links":{"self":[{"href":"https:\/\/www.stcleaner.com\/blog\/wp-json\/wp\/v2\/posts\/1034","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.stcleaner.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.stcleaner.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.stcleaner.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.stcleaner.com\/blog\/wp-json\/wp\/v2\/comments?post=1034"}],"version-history":[{"count":7,"href":"https:\/\/www.stcleaner.com\/blog\/wp-json\/wp\/v2\/posts\/1034\/revisions"}],"predecessor-version":[{"id":1425,"href":"https:\/\/www.stcleaner.com\/blog\/wp-json\/wp\/v2\/posts\/1034\/revisions\/1425"}],"wp:attachment":[{"href":"https:\/\/www.stcleaner.com\/blog\/wp-json\/wp\/v2\/media?parent=1034"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.stcleaner.com\/blog\/wp-json\/wp\/v2\/categories?post=1034"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.stcleaner.com\/blog\/wp-json\/wp\/v2\/tags?post=1034"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}