A WordPress Guide to Pingbacks and Trackbacks
Way back in August of 2007 (months are like years on the net), I wrote a guest article called "Links, Backlinks, Pingbacks and Trackbacks – What Exactly Are They?" for Pearl at Interesting Observations. While it was effective in educating quite a few people at the time, it's evident by reading the responses to Ronald Huereca's article, "Trackbacks: Still Useful?", that there are still more people that need to learn how to use pingbacks and trackbacks to their advantage.
Pieces of the Puzzle
You can view the TrackBack Technical Specification to get an idea of how trackbacks work. Due to spamming abuse, I don't recommend using standard trackbacks except in special circumstances. The WordPress software has a specific area from which to send pings that are handled as trackbacks at receiving blogs.
You can view the Pingback 1.0 specification and wade through a lot of technical jargon but, in essence, a pingback is like a trackback on steroids. In fact, pingbacks are often called trackbacks (there really is a difference). You don't have to do anything special to send pings that are handled as pingbacks at receiving blogs. Every time you create a link (hyperlink) to another blog within a post or page, the WordPress software will automatically ping that blog.
A WordPress blog needs only one piece of code in a theme's index.php file to receive and process pings for both trackbacks and pingbacks: <!– <?php trackback_rdf(); ?> –>. If that function is missing, your WordPress blog won't be able to process pings.
Disable Spamming Trackbacks While Making Trackbacks Useful
There's a great plugin for WordPress (that I use) called "Simple Trackback Validation". You can use it to handle the standard trackbacks that the bundled Akismet doesn't catch as spam. Not all trackbacks are spam, so I recommend placing them in the moderation queue.
For one reason or another and every so often, a ping generated by an outbound link doesn't reach the destination like it should. Network connectivity and other factors can stop a ping in its tracks (no pun intended). If you publish a post which contains an outbound link to a specific blog post on another blog, and it doesn't appear in the comments of that blog, 1 of 3 things has happened:
- The ping wasn't received.
- The ping was flagged as spam and is sitting in the receiving blog's spam area.
- Pings are turned off at the receiving blog post.
While the 3rd item can be checked by visiting the receiving blog post, the other two cannot. One way to make sure a ping goes through is to use the "Trackbacks" area of your blog post to resend a ping to a particular post. The STV plugin I mentioned will disregard it because you have the outbound link in your blog post. If it still doesn't work, there may be conflicts with other plugins at the receiving end. You shouldn't try to send a trackback like this more than once.
Linkbacks as Backlinks
A linkback is a term that covers 3 kinds of comment notifications: Refback, Trackback and Pingback. You can follow the link to see the differences.
When a linkback appears in a blog's comment section, it can become a backlink. "Backlink" is the term search engines use for links that point to your blog. It can only become a backlink, however, if the "nofollow" attribute doesn't exist for the pingback link. I've been using a "dofollow" plugin for so long that I can't remember if the "nofollow" attribute is even there by default.
Regardless, a ping of any kind doesn't do any good for the sending blog if it's pointed to anything other than a post (or a page, if pings are enabled in the theme). The receiving blog benefits from all of your outbound links (as long as you use good anchor text, but that's another topic and I won't get into it).
As I alluded to in my article about the value of a ping, linkbacks that appear on other blogs drive traffic to your blog. For this reason alone, you should link out to relevant articles on other blogs as often as possible.
But I'm not getting any pings!
I read this, or something similar to it, several times per month. If you're creating excellent content, and people see the content, you'll get pings to that content. It's really that simple. If every post you make is mediocre at best, you won't get any pings, ever. If you're producing great content and still not getting any pings, your blog post isn't being publicized enough.
While it's a topic in itself, publicizing your blog is extremely important and you can do it without extreme and blatant self-promotion. If you want to know some of the ways I do it (and now get consistently over 300 unique visitors per day, increasing a little each day), all you have to do is ask. Use my contact page, that's one of the reasons it's there.
Recommended Plugins
I would be remiss if I didn't mention the WordPress Plugins I use to control trackback and comment spam, while allowing legitimate pings to come through and get processed as pingbacks:
- Simple Trackback Validation (which I already mentioned)
- TanTanNoodles Simple Spam Filter Plus (SSF) (see below for some additions to the options that really help)
- No Self Pings (so other filters don't have to process mine as well)
- WP_PingPreserver (to prevent WordPress from discarding pings that come in too fast)
Add these to the banned patterns of SSF:
^<strong>
^cool
^wow cool
^interesting
^wow interesting
^nice
^wow nice
^sorry
^wow sorry
Looking at my counts as of right now, Akismet has caught only 23,990 spam comments while the SSF has caught 99,300 spam comments (and I installed SSF a long time after I started receiving spam).
Conclusion
Now that I've explained, in the best way I can, how to use pings, pingbacks and trackbacks, is there really any reason to completely disable them or defeat their usefulness on your own blog?
Is there something I've left out? If so, I'd be more than willing to create a part 2. This article is already much longer than I anticipated.
* * * * * * *
If you'd like to read more specifically about pingbacks, I recommend you read "Why Your WordPress Blog Isn't Receiving Pings".
Similar Posts:


Linkbacks sure seem like a good thing to me. They let readers follow along to other people's views about the topic, let's the owner know people are linking to him and encourages good linking in general. I like to use them to link together my own posts too but that seems to be something some people like and some don't. Sure there's some spam but that's going to happen in any internet medium I guess.
On the other hand, if you limit the discussion to trackbacks specifically (leaving out pings) then I could see an argument that pings are the better implementation and perhaps trackbacks are no longer needed (although I'm not sure all blogging platforms currently support pinging).
ScottS-M's last blog post..WP_MonsterID Update (Hand Drawn Monsters!)
Yep, self-pings are a preference thing. There are some blogging platforms that don't support trackbacks of any kind, but there are some third-party solutions like Haloscan (think Blogger).
I think this is one of the great features of having a wordpress blog. I've found some typepad blogs that are rather difficult to create trackbacks/pings since some don't provide the trackback url, or for some odd reason that I don't understand, there is HALF a url. That makes me think trackbacks have been disabled on their blog, but I really don't know.
I agree that trackbacks DO bring traffic to your blog, because I've received ping/trackbacks on posts (even some deep in my archives) from blogs I had never seen before, but have good content so I then subscribed. :)
Lin's last blog post..Thank You For Commenting Emails and Blog Comment Policies
As long as there isn't an error in the theme you're using, the WordPress software is almost foolproof. I say almost, because some fool will find a way to break it.
RT,
Great post.
The WP_PingPreserver plugin may be one I have to add. The problem is that really everyone needs to add it – If I ping someone else twice in one post, then the second ping will be rejected unless they have this plugin too.
When I link out to people, I consciously try to avoid linking to the same site twice for this very reason. That's quite limiting at times – occasionally I go ahead and do it anyway because I can't find a good alternative.
Stephen Cronin's last blog post..Spring Festival Time – Happy New Year!
There's a ticket filed in the Wordpress bug reporting site about the lost pings. But unfortunately I didn't notice it until it was already passed over and I'm not sure it'll get any attention now. I'm no security expert, but I think the way WP_Pingpreserver fixes the problem isn't any more insecure than the normal comment flood protection and would be easy to work into the base Wordpress code. I'm not sure how to bring it to someone's attention though.
ScottS-M's last blog post..WP_MonsterID Update (Hand Drawn Monsters!)
Argh this is complicated, but very helpful. I'm gonna have to read over it again.
Arrgh. It drives me nuts that WP can't recognize someone starting a comment with the "strong" tag as spam. Come on Akismet, get with it!
Matt's last blog post..Scarlett Johansson & Ryan Reynolds Allegedly Engaged, Allegedly
You should go yell at the other Matt (the WordPress guy) since Akismet is *HIS* baby. Oh well, at least smart programmers figured out how to stop it.
Oddly enough, sometimes pings and trackbacks are blocked through no fault of the blogger, usually due to some web host setup. Sadly, I've had to turn off mine because my host has disabled certain socket operations for security reasons. Still, it's a free host so I shouldn't complain :)
You can use a tool like this one to check your blog and see if everything's working:
http://tools.pingates.com/trackback/
An interesting tool, but my STV plugin stops standard trackbacks, including the tool's.
[...] has written a very nice "WordPress Guide to Pingbacks and Trackbacks". If you're new to WordPress this is a [...]
Really good post. :grin: I think you hit the nail on the head with this one. I've always had a hard time with blog spam.
[...] on pingbacks and trackbacks Options > Discussion "Allow link notifications from other [...]
RT, I'm having issues with trackbacks/pingbacks (whatever ya call 'em), so I'm gonna send you an email.
I can't even figure out how to submit a bloggingzoom post and do the trackback correctly either. :roll:
Lin Burress's last blog post..Understanding Assertiveness: Getting The Respect You Deserve
I'm going through my email now. :shock: