WordPress.org

Support

Support » How-To and Troubleshooting » Trackback not working on comment.php

Trackback not working on comment.php

  • dremeda

    @dremeda

    Sucuri Wizard

    Hi, I am pretty new to all this trackback stuff but something is wrong. On all my comment pages the link for Trackbacks is not working. When you hover over the link in the post meta data it does show the correct url in the bottom left of FF, but when you click it and it brings up the link in the address bar it drops the /trackback/ portion from the end of the link.

    The end result is that the trackback wont work. Now, I tested the full link with /trackback/ on it and it functions just fine. Does anyone have any idea why it is doing this and how I can fix it?

    Your help is greatly appreciated and here is the link to one of my posts:

    Dremeda Comments

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator James Huff

    @macmanx

    Support Team Rep.

    It’s functioning properly. You’re supposed to right-click and copy the link, then use it (with the /trackback/ at the end) as the trackback link. The trackback URI does the redirect which you describe because it is essentially a link to the post with a query string command to send a trackback. So, if it is accidentally used as a link in the post, it will still function properly.

    There are two things that you can do to improve the user-friendliness of this system.

    1. Add a title (tooltip) to the trackback URI. Here’s mine:

    <a href="<?php trackback_url() ?>" rel="trackback" title="Right-click and copy the TrackBack URI for this post.">
    <?php _e('TrackBack <abbr title="Uniform Resource Identifier">URI</abbr>'); ?>
    </a>

    2. Use this hack to create a helpful popup window with the trackback URI displayed as plain text:

    http://guff.szub.net/2005/09/04/enhancing-trackback-links-in-wordpress/

    dremeda

    @dremeda

    Sucuri Wizard

    macmanx: thank you for the link and I think I will venture that route, looks very promising.

    I know the right click thing works but from viewing a couple other WP sites it does pop up in the address bar with the full trackback link.

    Your solution works great for me being that for my purposes anyone trying to track me back will already know what they are looking for.

    Thanks again and I think this thread is closed 😉

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Trackback not working on comment.php’ is closed to new replies.