Configuring Trackbacks in Drupal

Creating a Blog Entry with Trackbacks

Once you've installed and configured trackbacks, your blog authors can easily set up trackbacks. A blogger who creates a blog entry will see a couple of new options. For example, if I'm planning to go to OSCON and I want to let people know, the Allow Trackbacks option at the bottom of the Submit blog entry form enables trackbacks for that particular blog.

If I want to manually ping other sites that have trackbacks enabled, all I would have to do is put in the URL of the blogging site that will receive the trackback. A blogger at the other site will notice the ping I've just sent and will then be able to choose whether or not to accept my request for a trackback.

Once I click the Submit button, my blog entry will be shown with the trackback URL.

You can send a trackback to any trackback-enabled site; you aren't limited to just Drupal or another CMS. WordPress and many other major blogging tools support the Trackback Technical Specification (see the box titled "How Do Trackbacks Work?").

Trackbacks and Spam

Spammers will sometimes take advantage of trackbacks. As you learned earlier in this article (see the "Configuring Trackbacks" section), if you are concerned about receiving unwanted trackbacks for unrelated content, you can enable checking and moderation to review trackback results. Another option is to install one of the common Drupal anti-spam modules [7]. Additional modules that can help you combat spam also are available through Drupal [8].

How Do Trackbacks Work?

A trackback is an http packet sent between one web server and another. It is sent whenever a user chooses to enable it, usually when the blogger creates or updates content. Trackbacks are implemented with the use of either POST or GET queries. These queries are exactly the same as those used in processing HTML forms. Trackbacks were created with the use of existing queries to capitalize on previous work, and also because the developers didn't want to create a new type of traffic that could be blocked easily by firewalls and other security software.

Still, it's possible, though unlikely, for this type of traffic to be blocked. You might want to test to see whether your pings are going through to remote systems. To verify a problem, consider reviewing the Trackback Technical Specification [9].


Trackbacks aren't going to make a blogger instantly popular, and they could cause additional work if you are serious about reviewing URLs to thwart spamming. However, some groups have found that trackbacks help increase their hit ratio for Google and Yahoo! searches. More importantly, trackbacks support better communication within their communities.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Drupal

    The PHP-based Drupal framework makes dynamic websites simple. The modular system is extensible using free modules and the appearance is template-driven. In this article, we will be delving into Drupal’s range of functions and discussing installation and basic configuration.

  • Web Tricks

    Busy web developers are always looking for an edge. This month we explore some tricks for faster and more effective websites.

  • Wordpress

    Wordpress is an easy, frugal, and feature-rich tool for creating a personal weblog. If you always wanted your own blog, but you don't have time for the technical details, Wordpress lets you get started in style.

  • WordPress Administration

    Blogs have evolved from private diary to professional tool, and if you manage more than one WordPress installation, administration support would be useful. Three tools can help.

  • Releases Drupal Code

    Open source code affects the project in terms of scalability, accessibility, communication.

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More