{"id":26,"date":"2007-03-11T14:55:19","date_gmt":"2007-03-11T22:55:19","guid":{"rendered":"https:\/\/www.wkiri.com\/today\/?p=26"},"modified":"2007-03-11T14:55:19","modified_gmt":"2007-03-11T22:55:19","slug":"how-trackbacks-and-pingbacks-work","status":"publish","type":"post","link":"https:\/\/www.wkiri.com\/today\/?p=26","title":{"rendered":"How trackbacks and pingbacks work"},"content":{"rendered":"<p>Recently, I received a pingback on one of my posts at this site.  This inspired me to find out how trackbacks and pingbacks work.  The main question was: how does a site know about posts that are made elsewhere that link back to a local post?<\/p>\n<p>As usual, wikipedia came in handy, complete with a <a href=\"http:\/\/en.wikipedia.org\/wiki\/Linkback\">table comparing refbacks, trackbacks, and linkbacks<\/a>.  Here&#8217;s my summary:<\/p>\n<blockquote><p>\nA <i>trackback<\/i> occurs when server A notifies server B that A contains a reference to content on B.  B can then publish a link back to A&#8217;s content (often with a small bit of context); this context-link is often referred to as the &#8220;trackback&#8221;.  Since this activity involves communication between servers, it only works for blogging software that is trackback-enabled.  Often the person writing weblog A must also use a special &#8220;trackback URL&#8221; (specified by B) when referring to the content on B &#8212; and not just in the content of their post, but in a separate &#8220;trackback&#8221; field (e.g., <a href=\"http:\/\/www.optiniche.com\/blog\/117\/wordpress-trackback-tutorial\/\">for WordPress<\/a>).\n<\/p><\/blockquote>\n<p>Note that a trackback doesn&#8217;t actually require that A had a legitimate post that pointed to B.  Anyone can send the web request to B suggesting a site to link back to.  This seems to have quickly become another route for incoming spam on various weblogs, so a new form with additional verification has arisen.<\/p>\n<blockquote><p>\nA <i>pingback<\/i> is a trackback in which server B checks A for an actual link back to B&#8217;s content. Again, both A and B must actively support pingbacks for this to work.  An advantage is that no special URLs are needed; when A links to B, there is an automatic notification to B (and B can confirm the legitimacy of A&#8217;s pingback).\n<\/p><\/blockquote>\n<p>Sounds pretty good, doesn&#8217;t it?  Well, the pingback I received was a bit perplexing.  It wasn&#8217;t a pingback in the sense of someone writing a post about something I wrote.  But it wasn&#8217;t (quite) spam, either.  As far as I can tell, it linked to a kind of automated blog that links verbatim to posts on a variety of subjects (probably specified by keyword).  I was unable to determine what the purpose of the site was.  I&#8217;ve deleted the pingback. But it gets a small kudos anyway, for inspiring me to find out something new.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Recently, I received a pingback on one of my posts at this site. This inspired me to find out how trackbacks and pingbacks work. The main question was: how does a site know about posts that are made elsewhere that link back to a local post? As usual, wikipedia came in handy, complete with a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[10,2,3],"tags":[],"_links":{"self":[{"href":"https:\/\/www.wkiri.com\/today\/index.php?rest_route=\/wp\/v2\/posts\/26"}],"collection":[{"href":"https:\/\/www.wkiri.com\/today\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wkiri.com\/today\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wkiri.com\/today\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wkiri.com\/today\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=26"}],"version-history":[{"count":0,"href":"https:\/\/www.wkiri.com\/today\/index.php?rest_route=\/wp\/v2\/posts\/26\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wkiri.com\/today\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=26"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wkiri.com\/today\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=26"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wkiri.com\/today\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=26"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}