WordPress.org

Ready to get started?Download WordPress

Forums

Trackback not working on comment.php (3 posts)

  1. dremeda
    Sucuri Wizard
    Posted 8 years ago #

    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

  2. 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/

  3. dremeda
    Sucuri Wizard
    Posted 8 years ago #

    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 ;)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.