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

Comment renommer les images et les fichiers multimédias dans WordPress

Note éditoriale : Nous percevons une commission sur les liens des partenaires sur WPBeginner. Les commissions n'affectent pas les opinions ou les évaluations de nos rédacteurs. En savoir plus sur Processus éditorial.

Vous souhaitez renommer des images et des fichiers multimédias dans WordPress ?

Les noms de fichiers des images peuvent améliorer votre SEO et aider les clients/clientes potentiels et les internautes à trouver votre contenu. Cependant, par défaut, WordPress ne vous permet pas de modifier le nom de fichier d’une image après l’avoir téléversée.

Dans cet article, nous allons vous afficher comment renommer facilement les images et les fichiers multimédias sur WordPress.

Rename image files and media in WordPress

Pourquoi renommer les images et les noms de fichiers multimédias dans WordPress ?

De nombreux moteurs de recherche populaires permettent aux utilisateurs/utilisatrices de rechercher des images. Cela signifie que des images intéressantes, utiles ou accrocheuses peuvent souvent augmenter le trafic de votre blog.

Cependant, les moteurs de recherche ont besoin de comprendre le contenu de vos images afin de les afficher aux bonnes personnes au bon moment.

L’utilisation de noms de fichiers significatifs et descriptifs est un élément important du SEO image. Par exemple, un nom de fichier tel que new-york-skyline.jpg donne aux moteurs de recherche plus d’informations que DSC00789.jpg.

Si WordPress vous permet de modifier la légende et l’identifiant de l’image, il ne vous permet pas de modifier le nom du fichier après l’avoir téléversé.

C’est un problème si vous trouvez de nouveaux mots-clés et souhaitez les ajouter à vos images, si vous avez utilisé un nom de fichier peu utile par accident ou si vous téléversez des fichiers directement depuis votre téléphone.

Cela dit, voyons comment renommer facilement les images et les fichiers multimédias dans votre blog WordPress.

Comment renommer facilement des images et des fichiers multimédias à l’aide d’une extension

La façon la plus simple de renommer des fichiers multimédias dans WordPress est d’utiliser Phoenix Media Rename. Cette extension vous permet de renommer les fichiers multimédias sans quitter la zone d’administration de WordPress.

L’extension mettra également à jour le nom de fichier pour toutes les images que vous avez utilisées dans les publications ou les pages. Cela peut vous enregistrer beaucoup de temps et d’efforts.

La première chose à faire est d’installer et d’activer Phoenix Media Rename. Pour plus de détails, consultez notre guide étape par étape sur l’installation d’une extension WordPress.

Une fois activé, il suffit d’aller dans Médiathèque  » Bibliothèque. Si la bibliothèque affiche la vue en grille, vous devrez passer à la vue en liste en cliquant sur l’icône de la liste.

Renaming images and media files in WordPress

WordPress affiche désormais plus d’informations sur chaque fichier multimédia, y compris son nom.

Il vous suffit de survoler avec votre souris l’image que vous souhaitez renommer sur votre site WordPress, puis de cliquer sur le lien  » Modifier  » lorsqu’il apparaît.

Renaming images and media files in the WordPress dashboard

Cela ouvrira l’image dans l’écran de modification des médias de WordPress. À partir de là, vous pouvez optimiser vos images en modifiant le texte alt de l’image, la légende, et plus encore.

Défilez vers le bas et vous verrez un nouveau champ « Nom de fichier ».

Renaming media files in the WordPress admin area

À partir de là, vous pouvez modifier le nom du fichier. Nous vous recommandons d’utiliser un nom significatif qui décrit l’image et d’ajouter tout mot-clé pertinent. Il est également conseillé d’utiliser des lettres minuscules et d’ajouter des tirets entre les mots.

Ensuite, il vous suffit de cliquer sur le bouton « Mettre à jour » pour enregistrer vos modifications. Vous constaterez également que la partie « Nom de l’expéditeur » de l’URL de votre fichier a été modifiée.

En savoir plus sur la gestion des fichiers WordPress

Outre le fait de renommer les noms de fichiers, voici d’autres façons d’organiser vos fichiers dans la médiathèque :

Nous espérons que cet article vous a aidé à apprendre comment renommer facilement les images et les fichiers multimédias sur WordPress. Vous pouvez également consulter notre guide sur la façon de créer un flux de photos Instagram personnalisé et nos choix d’experts pour les meilleurs plugins et outils de référencement que vous devriez utiliser.

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.

Divulgation : Notre contenu est soutenu par les lecteurs. Cela signifie que si vous cliquez sur certains de nos liens, nous pouvons gagner une commission. Consultez comment WPBeginner est financé, pourquoi cela compte et comment vous pouvez nous soutenir. Voici notre processus éditorial.

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.

L'ultime WordPress Toolkit

Accédez GRATUITEMENT à notre boîte à outils - une collection de produits et de ressources liés à WordPress que tous les professionnels devraient avoir !

Reader Interactions

38 commentairesLaisser une réponse

  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. 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.

      Administrateur

      • Jiří Vaněk says

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

  3. 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.

      Administrateur

  4. 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).

  5. 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?

  6. 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.

      Administrateur

  7. 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?

  8. 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.

      Administrateur

  9. 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.

      Administrateur

  10. 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)

      • 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 :)

  11. 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

  12. 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.

      Administrateur

  13. 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.

      Administrateur

  14. 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 :)

      Administrateur

    • 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.

      Administrateur

    • 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.

      Administrateur

Laisser une réponse

Merci d'avoir choisi de laisser un commentaire. Veuillez garder à l'esprit que tous les commentaires sont modérés selon notre politique de commentaires, et votre adresse e-mail ne sera PAS publiée. Veuillez NE PAS utiliser de mots-clés dans le champ du nom. Ayons une conversation personnelle et significative.