• I’m having a problem with my traback link. Every url has /trackback at the end of it.

    Here is the code:

    printf(_t('Responses are currently closed, but you can <a href="%s" rel="trackback">trackback</a> from your own site.'), trackback_url(false));

    How can I fix this?

    Thanks.`

Viewing 5 replies - 1 through 5 (of 5 total)
  • I’m not sure why this is a problem. The /trackback at the end of every url is what makes the trackback link *different* from the regular permalink. When you click the link to trackback at the bottom of the post, the page should stay the same (ideally) — only the url changes. I say ideally because there have been some issues with trackbacks in recent versions of WP.

    So what is wrong here? Is it that you don’t want people to be able to trackback, since, from the code above, comments are closed? You can fix that on the Options —> Discussion screen of your dashboard.

    Or is something else not working correctly? Be more specific and I’ll see if I can help you.

    Thread Starter gashbaugh

    (@gashbaugh)

    Hi:

    Thanks for your response. I actually welcome trackbacks. Here is an example, it goes to a page saying it’s not found, and it’s moved:

    https://www.ashbaughonline.com/2006/04/17/tabletkiosk-eo-v7110-umpc/

    If you try the trackback link down at the bottom of the page you’ll see what I mean.

    I have all the options in the discussion area to allow pingbacks and trackbacks.

    Thanks Again =)

    Yeah, this is the “error” with WordPress 2+ I was talking about. The thing is that it’s not really an error — ideally, from what I understand, when you click the trackback link it’s supposed to reload the page but change to the trackback url. At least that’s how it worked for me in 1.5. For some reason with 2+ the link is trying to take you to a new page instead of reloading the permalink page.

    To get around this, what I’ve done is remove the anchor tags from the code you posted above so that the trackback url displays on it own (i.e., you don’t have to click a link to get to it) under each post on my blog. You can see an example here, just above the footer.

    Here is the code I use:
    <?php
    if('open' == $post->ping_status) {
    _e('TRACKBACK : ','bnTiny')
    ?>
    <?php trackback_url(true); ?>
    <?php _e('','bnTiny');
    }
    ?>

    Thread Starter gashbaugh

    (@gashbaugh)

    Thanks for the reply. That’s not quite the solution I was looking for, but I still appreciate it. =)

    I sent a message to the author of the theme I use in WP to see if they can help me out.

    I’ll post back if I find anything good. =)

    Cheers!

    I don’t think it’s a theme issue, though. Just do a search on the forums for “trackback error 2.0” and you’ll see that this was a pretty widespread error for people who upgraded from 1.5.

    Take a look here for a potential solution, but *BACK UP ALL YOUR CORE FILES* before trying to edit them.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Trackback URL Link Problem’ is closed to new replies.