Voulez-vous en savoir plus sur les rétroliens et les pingbacks dans WordPress ?
À propos des rétroliens et des pingbacks dans WordPress, un compte nous a récemment posé une question. Il s’agit essentiellement de modes de communication entre les blogs WordPress. Ils existent depuis les premiers jours des blogs, mais très peu d’utilisateurs/utilisatrices connaissent ces fonctionnalités.
Dans cet article, nous allons expliquer les rétroliens et les pingbacks dans WordPress. Nous parlerons de leurs différences, de leur fonctionnement et de leur utilisation.
N’hésitez pas à utiliser les liens rapides ci-dessous pour naviguer entre les différents Sujet de cet article :
Qu’est-ce qu’un rétrolien ?
Un rétrolien dans WordPress est comme un message amical entre deux sites. Lorsqu’un site mentionne ou fait un lien vers une publication sur un autre site, il envoie un rétrolien pour en informer l’autre site. Voici comment cela fonctionne :
- Imaginons que vous rédigiez une publication WordPress. Dans votre publication, vous incluez un lien spécial appelé URL de rétrolien vers un autre article sur un site WordPress différent. C’est comme un code secret trouvé dans les informations de la publication liée.
- Lorsque vous publiez votre publication, votre site envoie un rétrolien au lien que vous avez inclus. Ce rétrolien contient des informations sur votre publication, comme son titre et un court texte.
- L’autre site WordPress reçoit votre rétrolien et vérifie s’il s’agit d’un lien valide et pertinent. Il agit comme une vérification amicale pour voir si votre publication correspond bien à la leur.
- Si tout se passe bien, le rétrolien apparaît dans la section des commentaires de la publication liée. L’aspect des commentaires est un peu différent de celui des commentaires ordinaires, puisqu’il affiche généralement le titre de votre publication et un extrait de son contenu.
Qu’est-ce qu’un ping ?
Un pingback dans WordPress est un message automatique qu’un site envoie à un autre lorsqu’il fait un lien vers son contenu. Voici comment fonctionnent les pingbacks dans WordPress :
- Vous écrivez une publication avec un lien vers une autre publication sur un site WordPress différent.
- Lorsque vous publiez votre publication, votre site WordPress envoie automatiquement un pingback au site vers lequel vous avez créé un lien. Ce pingback comprend des détails sur votre publication, comme son titre et un peu de texte.
- L’autre site WordPress reçoit votre pingback et vérifie si le lien est bon et a du sens. Il s’agit d’une vérification amicale pour voir si votre publication correspond bien à la leur.
- Si tout semble correct, le pingback s’affiche dans la section des commentaires de la publication commentée sous la forme d’un lien vers votre site.
Les pingbacks fonctionnent également à l’intérieur de votre site. Cela signifie que si vous créez un lien vers l’un de vos propres articles sur le même site, WordPress s’enverra automatiquement un pingback.
C’est ce qu’on appelle le self-ping, et une fois que vous commencerez à bloguer régulièrement, vous trouverez peut-être les pings agaçants. Ne vous inquiétez pas, ils peuvent être facilement inactivés, comme nous l’afficherons ultérieurement dans cet article.
Quelle est la différence entre les rétroliens et les pingbacks ?
Il n’y a pas vraiment de différence entre les pingbacks et les rétroliens. Ils font tous deux la même chose mais adoptent une approche légèrement différente.
La première différence est que les rétroliens sont manuels, alors que les pingbacks sont automatiques puisqu’ils utilisent des technologies de communication différentes.
Deuxièmement, les pingbacks n’envoient pas l’extrait de la publication, contrairement aux rétroliens.
Comment envoyer des rétroliens et des pingbacks dans WordPress
Depuis WordPress 5.0, la possibilité d’envoyer manuellement un rétrolien à d’autres blogs a été retirée de l’écran de l’éditeur/éditrices de blocs. Peu d’utilisateurs/utilisatrices ont recours à cette fonctionnalité, et WordPress a déjà activé les pingbacks automatiques par défaut.
Toutefois, si vous utilisez l’éditeur/éditrices classique, la fonctionnalité est toujours présente. Il vous suffit de modifier une publication dans l’éditeur/éditrices classique et vous trouverez l’option d’envoi de rétroliens sous la zone d’édition.
Si vous ne trouvez pas la boîte méta des rétroliens dans l’éditeur classique, cliquez sur le bouton « Options de l’écran » dans le coin supérieur droit de l’écran.
Vous devez cocher la case à côté de l’option « Envoyer des rétroliens », et WordPress affichera une boîte d’envoi de rétroliens sous la zone de modification.
Comment modérer les pingbacks et les rétroliens dans WordPress
D’après notre expérience, 99 % des rétroliens et des pingbacks sont indésirables. C’est le moyen le plus facile pour les spammeurs d’obtenir un lien retour à partir de votre site.
Dans notre cas, nous voyons souvent des pingbacks provenant de « content scrapers » (voleurs de contenu) qui copient l’intégralité de nos articles, mot par mot, y compris tous les liens.
Grâce à ces liens, leur logiciel de blog envoie automatiquement des pingbacks vers nos articles.
Les quelques fois où nous avons trouvé les rétroliens/pingbacks utiles, c’est lorsque des blogueurs légitimes ont créé un lien vers nous. Ils nous ont aidés à trouver une fonctionnalité dans Mashable et NYTimes.
En bref, nous avons trouvé que 99 % des rétroliens et des commentaires sont indésirables. C’est la raison pour laquelle nous les avons entièrement désactivés. Cela ne vaut pas la peine de modérer une tonne d’indésirables.
Il existe d’autres moyens de trouver qui a créé des liens vers vos articles. La plus simple est d’utiliser Google Analytics pour trouver les liens vers votre site.
Cela dit, si vous voulez toujours utiliser les rétroliens et les pingbacks, alors il est bon de les modérer pour éviter les indésirables. Ce que vous devez faire est d’aller dans les Réglages « Discussion dans la zone d’administration de WordPress.
Ensuite, dans la section « Avant qu’un commentaire n’apparaisse », cochez la case « Le commentaire doit être approuvé manuellement ». Confirmez ainsi que les rétroliens et les pingbacks ne s’afficheront pas automatiquement et qu’ils doivent être vérifiés pour éviter les indésirables.
Vous pouvez ensuite vous rendre dans la zone de modération des commentaires de WordPress pour vérifier si des pingbacks et des rétroliens sont en attente.
De là, vous pouvez les approuver, les supprimer ou les marquer comme indésirables.
Comment désactiver les rétroliens, les pingbacks et les self-pings ?
Si vous en avez assez de recevoir des rétroliens et des pingbacks indésirables, il existe un moyen de les désactiver complètement.
Il vous suffit de vous rendre dans la page Réglages » Discussion et de décocher l’option » Permettre les notifications de liens provenant d’autres blogs (pingbacks et rétroliens) « .
Si vous décochez cette case, les rétroliens et les pingbacks seront uniquement désactivés pour les futures publications (et non pour les publications existantes).
Pour désactiver les rétroliens sur les publications existantes, vous devez suivre notre tutoriel sur la désactivation des rétroliens et des pingbacks sur les articles WordPress existants.
Si vous en avez assez que votre blog s’auto-pingue, alors vous pouvez simplement installer et activer l’extension Aucun Self Pings. Pour plus de détails, consultez notre guide étape par étape sur l’installation d’une extension WordPress.
Dès qu’elle est activée, l’extension désactive les self-pings sur votre site WordPress.
Nous espérons que cet article vous a aidé à vous familiariser avec les rétroliens et les pingbacks de WordPress. Vous pouvez également consulter notre liste des extensions WordPress incontournables et notre guide sur la façon de rédiger les grandes lignes d’un article de blog.
Si vous avez aimé cet article, veuillez alors vous abonner à notre chaîne YouTube pour obtenir des tutoriels vidéo sur WordPress. Vous pouvez également nous trouver sur Twitter et Facebook.
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!
Muhammad Atif says
Hi, There is mistake under « what is pingback », 4th point » we « wikk »
WPBeginner Support says
Thank you for catching that, we will get that typo fixed soon!
Administrateur
Iftekhar Bhuiyan says
Helpful post indeed. Thank you.
On a personal level though, I stopped using it for quite some time now.
Marcia says
I’m curious is it weird to approve self-pings? Internal linking is still a good thing but would there be any cons//would it just look weird? Thanks!
WPBeginner Support says
It’s a bit of a personal preference question. It adds more admin tasks for you to do with the links to approve and you already have an internal link to cause the pingback so most do not find value in allowing self pings.
Administrateur
Christopher Wilson says
I am so glad I discovered this website because it make everything so crystal clear especially if you are a beginner (I guess that’s why it’s named appropiately). I love it.
WPBeginner Support says
Glad you found our content helpful
Administrateur
Mithu A Quayium says
What about the real blogger who don’t spam. Don’t you accept their trackback/pingback then , even though they are legit ?
LaShaun W says
Are there any advantages to approving a trackback. I just got one and I don’t know if I should or shouldn’t approve it. If someone clicks it, I risk losing a visitor, don’t I?
WPBeginner Support says
Hi,
Yes, you can delete it.
Administrateur
Philip says
Thank you for explaining TrackBacks.
I got two but the commenters name etc looked false and immediately raized the alarm.
So, if they do copy your article word for word, no one should panick, because Google will not give that copied post good ranking and they will hurt their website rankings! Or, am I missing something more important here?
I will disable trackbacks.
Thanks.
WPBeginner Support says
Hi Philip,
Yes, you got that right. However, if you notice that someone with stolen content is outranking your articles in Google, then you can file DMCA and Google will remove those results. For more information, please see our guide on how to prevent blog content scraping in WordPress.
Administrateur
Sherry says
Thank you so much for Tweeting this article! I just last week received 6 Pingbacks and had no idea what to do about them.
I had just moved from Blogger to WordPress.org earlier this year and I have been learning the platform and had never heard of Trackbacks and Pingbacks until last week.
I watched Your talk with Micheal Hyatt and learned so much too. I’m so glad I subscribed to Platform University and heard about your site it has been so helpful. I’m implementing a lot of the things you talked about with Micheal Hyatt.
Sherry
Editorial Staff says
Thank you so much for the kind words Sherry. I’m happy to help
-Syed
Administrateur
Sinea says
Thanks for the explanation. I would instantly stop all trackbacks and pingbacks if I were more experienced. I’ve been blogging for 7 years but only just moved from Blogger to WP. THANK GOODNESS FOR YOUR WEBSITE. Without it, I do not know what I would do!
I host two blog hops. I love meaningful comments from my guests at the parties as well as on other posts. Will disabling trackbacks or pingbacks interfere with my parties or real commentary? If it won’t, I’m disabling immediately. Another question… on existing spammy comments, is it better to mark them as spam or send them to the trash?
WPBeginner Support says
Hi Sinea,
Thank you for kind words, we are glad that you find WPBeginner helpful. To answer your questions:
1. No, disabling pingbacks and trackbacks will not affect comments on your website.
2. It is better to mark spam comments as spam.
Administrateur
Sinea says
Well, then, I will be disabling them! Thanks so much!
Sin Yee says
Thanks for the explanation. Finally know what both of them are!
Janine says
Thank you for addressing this! Honestly its a confusing topic. I recently had my post pinged back upon. (How on earth would one say that!?!)
I noticed that when she pinged me her post (in wordpress) automatically used my featured image for the post I had written.
I have pinged a different blogs post (not a wordpress blog) today and I don’t see if there is a way to include the image.
Is it still pinging if it is not a wordpress blog? Could that be what is different?
Thanks!
Tapiwa Zvakavapano says
Greetings
I see there is an unanswered question in all this; If I do not approve a Pingback, will the link still work. I am afraid I am not as fawning as all the other people above. I run a recently launched blog; Network Bees and I have lots of links to your pages. All of them are genuine, ie, I read your articles and link to relevant, well written materials.
It worries me therefore, that all that effort is for nought because you are labeling all my links as spam. I may be confused about the whole thing, however. I think one of the comments above asked the same issue. Does disabling pingbacks and trackbacks mean that people cant link to a page? Or do the links still work nevertheless?
One of the things that I have discovered is that established bloggers tend to be a bit « detached » when it comes to interacting with new bloggers. There is this blog that allows guest posts but does not allow even a single link to the author’s blog! I mean, what would be the point? In any case, that’s a digression. My question is above….
WPBeginner Support says
Hi Tapiwa,
When you link to another WordPress powered website, the link on your website will work just fine. If the site you are linking to has the pingbacks and trackbacks disabled, then they will not see the link in their moderation queue and will not be able to mark it as spam. You should keep working on your blog as you normally would.
Administrateur
Michelle Belanger says
Thanks for this article and your site!
I got a rather generic comment with a link to a site in the UK that had content unrelated to my blog post (a garden photo post linked to a job seeking website). i approved the comment initially because I want people to read and respond to my posts. After reading this article, I went in and removed the links and left the comment by itself.
Is this method ever used as a way to break into someone’s site to hack it? Or is it just a way to get someone from another site to click their link and go to their site? Thanks again for your help with this subject.
WPBeginner Support says
Hey Michelle,
Most links submitted in a comments are often spam. Some times these links can lead users to malicious websites. You need to carefully review comments before approving them. See our guide on how to deal with comment spam in WordPress for more information.
Administrateur
Arulmjoseph says
Thanks for the information.
gumusdis says
Perfect, Thanks for sharing these useful information with us.
Dattaraj says
Very good article. Thanks for detailed explanation.
Liz Ziser says
Great post! Thank you for sharing.
Personally, my confusion lies with moderation options. For example, if a legitimate blog links to my site, and I move it to « Trash », is the link deactivated? i.e. It’s fine for them to link to me, but I don’t want the pingbacks displaying at the bottom of my post… so would this be the best selection?
I’d just like to better understand the consequence of each moderation selection: Approve, Unapprove, Trash, Spam, and Trash. What actually happens when each of these are selected.
Thanks a lot!!
ketul says
hello i am confusion about pingback in my wordpress its affect on seo keywords?
Daren says
Perfect! Been wondering about this for a while. Thanks for the focused « Don’t waster your time » advice.
Nebu John Thaliyath says
Really Helpfull. Thank You
Sanjay Kumarr says
Now I have good knowledge of Trackbacks and PingBacks, trackbacks are mannual with contents and pingbacks are automated / software based both will 99% spam.
Your article is very good and clearly belongs to questions that I was trying to find.
Good websites and information as well.
WPBeginner Support says
Hey Sanjay, glad you found it helpful
Don’t forget to join us on Twitter for more useful WordPress tutorials.
Administrateur
Vasu says
This was very useful. Just the information what I was looking for.
thanks
Vasu
Amit says
This is very useful information for me too. Actually i was very confused before this. When i research on my website, that one trackback post show there.
After read this knowledgeable article about trackback and pingback . my problem has been solve.
Breanna says
So, are pingbacks/trackbacks bad or good to get?
Chris Webb says
Great Post, very thorough explanation on what these two types of linking mechanisms do.
Phil Owens says
Hi,
Considering your title is what, how, why, you haven’t explained how to create a trackback. I am a complete noobie to blogging, so treat me like an idiot
Brendan Hall says
I was going to use track backs on our site. We tried them for a while and we were just inundated with spamming comment (of which this comment is not lol). In the end I decided that is was not worth using track back at all.
Pushkar Kathayat says
How to make a pingback for another blog?
Heather says
Does disabling trackbacks and pingbacks affect my sites SEO?
WPBeginner Support says
No it does not.
Administrateur
Luke Ward says
Hi, If I disable pingbacks/trackbacks as you’ve suggested, will that also stop internal pinkbacks?
Thanks
Heike Martin says
Internal pingbacks can be avoided by making sure that the url used only shows the extension of the full url. Look at the url for this post. To avoid self-pings you want the link to only read « /beginners-guide/what-why-and-how-tos-of-trackbacks-and-pingbacks-in-wordpress/ ». This info is from the make.wordpress site. To do this add the link and check in text editor mode and delete the domain portion of the url
Robert says
Thanks for this article on trackbacks and pingbacks. I had been thinking of the advantages of allowing trackbacks from genuine bloggers but if your experience is that 99% comes from spam then I don’t think the 1% is worth it.
I think I will place a prominent notice advising bloggers to use the Contact Me form to request a link up.
James says
Have been reading the release notes on 4.0.1, specifically the XSS vulnerability in comments which launches upon moderating comments.
I don’t suppose any one would know if the trace ping backs could be exploited in the same way.