Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
Puchar WPB
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

Jak zmienić nazwę obrazków i plików multimedialnych w WordPress?

Uwaga redakcyjna: Otrzymujemy prowizję z linków partnerskich na WPBeginner. Prowizje nie mają wpływu na opinie i oceny naszych redaktorów. Dowiedz się więcej o Proces redakcyjny.

Czy chcesz zmienić nazwy obrazków i plików multimedialnych w WordPress?

Nazwy plików obrazków mogą poprawić SEO i pomóc potencjalnym klientom i odwiedzającym znaleźć twoją treść. Jednak domyślnie WordPress nie pozwala na zmianę nazwy pliku obrazka po jego przesłaniu.

W tym artykule pokażemy, jak łatwo zmienić nazwy obrazków i plików multimedialnych w WordPress.

Rename image files and media in WordPress

Dlaczego warto zmieniać nazwy obrazków i plików multimedialnych w WordPress?

Wiele popularnych wyszukiwarek umożliwia użytkownikom wyszukiwanie obrazków. Oznacza to, że interesujące, pomocne lub przyciągające wzrok obrazki mogą często zwiększyć ruch na twoim blogu.

Wyszukiwarki muszą jednak rozumieć, czego dotyczą twoje obrazki, aby mogły wyświetlać je właściwym osobom we właściwym czasie.

Używanie znaczących, opisowych nazw plików jest ważną częścią SEO obrazków. Na przykład nazwa pliku taka jak new-york-skyline.jpg daje wyszukiwarkom więcej informacji niż DSC00789.jpg.

WordPress umożliwia zmianę podpisu i tagu alt obrazka, ale nie pozwala na zmianę nazwy pliku po jego załadowaniu.

Jest to problem, jeśli znajdziesz nowe słowa kluczowe i chcesz utworzyć je do swoich obrazków, przypadkowo użyłeś nieprzydatnej nazwy pliku lub przesyłasz pliki bezpośrednio z telefonu.

Powiedziawszy to, przyjrzyjmy się, jak łatwo zmienić nazwy obrazków i plików multimedialnych na twoim blogu WordPress.

Jak łatwo zmienić nazwę obrazków i plików multimedialnych za pomocą wtyczki?

Najprostszym sposobem na zmianę nazw plików multimedialnych w WordPress jest użycie Phoenix Media Rename. Wtyczka ta umożliwia zmianę nazw plików multimedialnych bez opuszczania obszaru administracyjnego WordPress.

Wtyczka zaktualizuje również nazwę pliku dla wszystkich obrazków użytych we wpisach lub na stronach. Może to zaoszczędzić wiele czasu i wysiłku.

Pierwszą rzeczą, którą musisz zrobić, jest zainstalowanie i włączanie Phoenix Media Rename. Aby uzyskać więcej informacji, zobacz nasz przewodnik krok po kroku, jak zainstalować wtyczkę WordPress.

Po włączaniu wystarczy przejść do Media ” Library. Jeśli biblioteka pokazuje widok siatki, musisz przełączyć się na widok listy, klikając ikonkę listy.

Renaming images and media files in WordPress

WordPress wyświetli teraz więcej informacji o każdym pliku multimedialnym, w tym jego nazwę.

Po prostu najedź kursorem myszy na obrazek, którego nazwę chcesz zmienić na swojej witrynie internetowej WordPress, a następnie kliknij odnośnik „Edytuj”, gdy się pojawi.

Renaming images and media files in the WordPress dashboard

Spowoduje to otwarcie obrazka na twoim ekranie edycji multimediów WordPress. Z tego miejsca możesz zoptymalizować swój obrazek, zmieniając jego tekst alternatywny, podpis i nie tylko.

Przewiń na sam dół, a zobaczysz nowe pole „Nazwa pliku”.

Renaming media files in the WordPress admin area

W tym miejscu można zmienić nazwę pliku. Zalecamy użycie znaczącej nazwy opisującej obrazek i dodanie odpowiednich słów kluczowych. Dobrym pomysłem jest również użycie małych liter i dodanie myślników między słowami.

Następnie wystarczy kliknąć przycisk „Aktualizuj”, aby zapisać twoje zmiany. Zobaczysz również, że część adresu URL z nazwą twojego pliku również została zmieniona.

Dowiedz się więcej o sposobach zarządzania twoimi plikami WordPress

Oprócz zmiany nazw plików, oto więcej sposobów na uporządkowanie twoich plików w bibliotece multimediów:

Mamy nadzieję, że ten artykuł pomógł ci dowiedzieć się, jak łatwo zmienić nazwy obrazków i plików multimedialnych w WordPress. Zachęcamy również do zapoznania się z naszym przewodnikiem na temat tworzenia własnego kanału zdjęć na Instagramie oraz wyborem najlepszych wtyczek i narzędzi SEO.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Ujawnienie: Nasze treści są wspierane przez czytelników. Oznacza to, że jeśli klikniesz na niektóre z naszych linków, możemy otrzymać prowizję. Zobacz jak WPBeginner jest finansowany, dlaczego to ma znaczenie i jak możesz nas wspierać. Oto nasz proces redakcyjny.

Avatar

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

Najlepszy zestaw narzędzi WordPress

Uzyskaj BEZPŁATNY dostęp do naszego zestawu narzędzi - zbiór produktów i zasobów związanych z WordPressem, które każdy profesjonalista powinien mieć!

Reader Interactions

40 komentarzyZostaw odpowiedź

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. Dennis Muthomi says

    Hi, you mentioned that descriptive file names can improve image SEO.
    I was wondering, do image attributes like the alt text and caption also help search engines understand the content of images?

    • WPBeginner Support says

      Yes those help search engines as well as your site visitors understand the content of the images :)

      Administrator

  3. Jiří Vaněk says

    I am now going to clean out the media folder in a similar way. What do you think is the best method for image names. Is it worth naming the pictures, for example, using key words, or writing a description of what is in the picture?

    • WPBeginner Support says

      For the moment it would be better to have a descriptive name instead of trying to use keywords.

      Administrator

      • Jiří Vaněk says

        Thanks for the advice, because until now I’ve been doing exactly the opposite and using only keywords.

  4. Maryam Ali says

    I use the Phonix Media Rename plugin for changing the file name of images. But, this plugin is not changing the link of the image. The image link still has the old file name. Is there, any problem with the canonical tag OR now there is duplication of image files on the website?

    • WPBeginner Support says

      If you are concerned with redirects the Phoenix Media Rename plugin works with the Redirection plugin to create redirects for the changed images.

      Administrator

  5. Andrew J Schaeffer says

    No more filename box to rename images. Gotta use a plugin and/or the hard-way (taking images down from media library, rename, and put them back in).

  6. Tasha says

    Is renaming the image after they are uploaded going to break any links that are out there to the images? Will autoredirects be set up?

  7. karma says

    Thank you for your post.

    Since I haven’t tried it yet, I wonder what happen if I rename the file directly from inside the cpanel File Manager.

    • WPBeginner Support says

      Issues pop up when updating your file names through that method as it wouldn’t update on WordPress’ end.

      Administrator

  8. Edward L says

    After changing the image Filename using the Phoenix Media Rename plugin, I notice the „/new name text.jpg” of the „File URL” automatically changes to match the new Filename. However, I also notice the „Permalink” URL still remains the same (the end text still has the old Filename included; in other words, „/old name text.jpg”). I suppose this it to not „lose” the placement of the image in the site.

    Am I understanding this correctly? Should I just leave the Permalink as it is?

  9. Sahed Ibnay Alam says

    when move cursor in image, My images have a terrible naming structure and it is very distracting to the user to see „IMG_1234.JPG”.

    is there is any solution to remove this

    • WPBeginner Support says

      If it is not the name of the image then you would want to check the image’s alt text and caption for where that would be.

      Administrator

  10. Jes says

    Hi, Will renaming the images using a plugin, then compress after will return the images’ name to original? Thanks!

    • WPBeginner Support says

      You would need to check with the support for the plugin you’re planning to use if their plugin works that way.

      Administrator

  11. Frank Martire says

    Couldn’t I just change the name of the file on my desktop, upload it to my media file and replace current image with new image with new title? (file name)

    • WPBeginner Support says

      That would be another option if you know all of the locations the file is on your site.

      Administrator

      • Frank Martire says

        hello and thanks for the response, you actually made me realize how issues can arise. Changing a pic and not updating all the file locations.

        In my case I think its easy, im changing my hero pic and logo. These are controlled by my theme and I hope will update the new url once I replace the images.

        • WPBeginner Support says

          You’re welcome! if it is in only those locations then you should be fine :)

  12. Mark Covell says

    Fantastic had Phoenix Media Rename downloaded for a while as got a client who insists to not rename their images before uploading so was looking for a solution. I installed it on a test site and couldn’t figure it out as it doesn’t mention anywhere about switching to the list view ! Your post just stopped me buying Media File Renamer Pro ! So thanks for that.
    Best Wishes.
    Mark

  13. Balaka says

    Thanks for this article.

    Question about the Phoenix Media Rename plugin:

    Once I’ve replaced the filenames, do I need to keep the plugin active? Or is it fine to use it to rename files, then deactivate?

    Cheers!

    • WPBeginner Support says

      You may want to double-check with the plugin’s support but at the moment it is fine to remove the plugin after renaming the files.

      Administrator

  14. Radu says

    Hello to all!
    I am working on a project made in wordpress and I am stuck on this part:

    When a author post a new article and attach an image like image.jpg, and other author posts another article with the same image name image.jpg, the second article will be owerwrited by the first name on that image.jpg (from the first post)…

    The question is: ,if there is a way to prevent that automatically, in functions php, js(ajax), etc…??

    I am facing with this for one week (technically speaking) ….

    Any info. will be appreciated…

    • WPBeginner Support says

      It would depend on the tool you’re using to change the image name, you would want to reach out to the plugin’s support for preventing overwriting.

      Administrator

  15. Sherylin Thompson says

    Hello. Why is it that I’m not seeing the filename field at the bottom of the WordPress media edit screen? Thanks for your help.

    • WPBeginner Support says

      There are a few possible reasons, you may want to check the top right for another possible location for the file name :)

      Administrator

    • WPBeginner Support says

      It would depend on the method you are using, currently, the first method would change the permalink for the image and update it where the image is placed on your site.

      Administrator

    • WPBeginner Support says

      It would depend on the method you are using. If you reach out to the plugin’s support they should be able to assist.

      Administrator

Zostaw odpowiedź

Dziękujemy za pozostawienie komentarza. Pamiętaj, że wszystkie komentarze są moderowane zgodnie z naszymi polityka komentarzy, a Twój adres e-mail NIE zostanie opublikowany. NIE używaj słów kluczowych w polu nazwy. Przeprowadźmy osobistą i konstruktywną rozmowę.