WordPress.org

Ready to get started?Download WordPress

Forums

Trackback and pingback not working (31 posts)

  1. dewall
    Member
    Posted 8 years ago #

    Ever since I upgraded from 1.5 > 2.0 > 2.0.1 > 2.0.2 pingbacks and trackbacks have stopped working. I have no idea what to do about this. Am I the only one with this problem in version 2.0.2?

  2. Mark (podz)
    Support Maven
    Posted 8 years ago #

    It's not been reported here widely.
    Has your host done anything?

    When you upgraded did you do it all at once and overwrite files?

  3. dewall
    Member
    Posted 8 years ago #

    Thanks for the quick reply :-)
    I did everything according to the upgrading instructions. I did not overwrite any files. The problem started when I went from 1.5 > 2.0. Upgrading to 2.0.1 and then to 2.0.2 did not help.

    I also have updated to the most recent version of Spam Karma

  4. Mark (podz)
    Support Maven
    Posted 8 years ago #

    2 did have a problem but that was cured in 2.0.1
    As far as I know 2.0.2 had no changes that would affect this (I could be wrong on that) but like I said we've had few posts.

    Where / how have you tried? Are you sure that you are not being blocked? You can test pings and tbacks to and from this blog if you want:
    http://www.tamba2.org.uk/wordpress/TestTrack/index.php
    Be sure to log back in and check that nothing has been caught for moderation.

  5. dewall
    Member
    Posted 8 years ago #

    It seems as trackbacks are working but not pingbacks. Or maybe they just take a while before they are sent? Nothing has been caught by Spam Karma though.

    One step forward anyway.

  6. MichChick
    Member
    Posted 8 years ago #

    After reading this post I tested my blog, and pingbacks and trackbacks are not working for me either.

  7. MichChick
    Member
    Posted 8 years ago #

    Well, I just received a pingback from the test site, but it took a little while. However, any trackbacks or pingbacks I have sent to the site are not showing up. And I haven't received any trackbacks from the site. And no, I'm not doing them at the same time.

  8. dewall
    Member
    Posted 8 years ago #

    I have tried sending trackbacks 2 both MichChick and frepa.org. None of the shows up as far as I can see. The trackback sent 2 http://www.tamba2.org.uk/wordpress/TestTrack shows up though.

  9. MichChick
    Member
    Posted 8 years ago #

    I seem to be getting sporadic pingbacks, but have not yet received any trackbacks. And it looks like I'm not SENDING any trackbacks or pingbacks.

    Does anyone have any suggestions or ideas? I haven't had this issue before and probably wouldn't have realized it if it weren't for this thread.

  10. MichChick
    Member
    Posted 8 years ago #

    I just wanted to add that this is a brand new installation of the latest version (downloaded it yesterday).

  11. Mark (podz)
    Support Maven
    Posted 8 years ago #

    I trackbacked to your post. I have to assume it was sent because I tested one to my site and it worked.
    Looks like the problem could be your host?

  12. Mark (podz)
    Support Maven
    Posted 8 years ago #

    Scrub the above. Somethign weird is going on.

    I am sending TRACKbacks to my own blog but they are coming in as PINGbacks... and I don't know why.

  13. Mark (podz)
    Support Maven
    Posted 8 years ago #

    From what I can test:
    Sending a trackback where the post URL - even if not clickable - sends a ping.

    Sending a trackback where the post url is not in the post at all works.

    I think.

  14. dewall
    Member
    Posted 8 years ago #

    I think we all can agree on that there is something wrong with both sending and recieving track- and pingbacks.

  15. MichChick
    Member
    Posted 8 years ago #

    Well, at least I'm glad it's not just me doing something bone-headed. :)

  16. J3r0m3
    Member
    Posted 8 years ago #

    when i refer to my own previous post with a link, i find that i will have a brand new comment to that particular post.

    Just imagine a blog that hardly gets much traffic, with no feedback most of the time, then suddenly you get one, only to learn that its your own pingback. Arrgggh!

    Is there anything that can be done?

  17. SoundTrip
    Member
    Posted 8 years ago #

    It could be a problem with the execute-pings. I have found that WordPress always gives pingbacks precedence over trackbacks, which is backwards in my estimation; especially since most people link to articles (causing the pingback) and add a trackback to have their articles show up in the trackback section of the linked article.

    The trackback in this case might never take hold because it would appear as a double ping to some sites and they suppress the second ping which is a trackback in this case (this is done to prevent comment spam).

    You can simply replace the wp-admin\execute-pings.php file with the text below. Please back up the old file just in case you want to revert back. I encourage you to look at the structure of the replacement as it is a very simple mechanism. Once you do this both trackbacks and pingbacks SHOULD show up as expected.

    THIS IS A WP 2.01 REPLACEMENT Please check the exact structure of your version before making any changes to this file. It works fine for me on 2.01. And as always BACKUP the original.

    Bsically just change the order of Trackbacks to take precedence over pingbacks as demonstrated below.

    <?php

    require_once('../wp-config.php');

    // Do Trackbacks - TMT Moved Up to force Trackbacks ahead of pingbacks
    $trackbacks = $wpdb->get_results("SELECT ID FROM $wpdb->posts WHERE CHAR_LENGTH(TRIM(to_ping)) > 7 AND post_status != 'draft'");
    if ( is_array($trackbacks) ) {
    foreach ( $trackbacks as $trackback ) {
    do_trackbacks($trackback->ID);
    }
    }

    // Do pingbacks
    while ($ping = $wpdb->get_row("SELECT * FROM {$wpdb->posts}, {$wpdb->postmeta} WHERE {$wpdb->posts}.ID = {$wpdb->postmeta}.post_id AND {$wpdb->postmeta}.meta_key = '_pingme' LIMIT 1")) {
    $wpdb->query("DELETE FROM {$wpdb->postmeta} WHERE post_id = {$ping->ID} AND meta_key = '_pingme';");
    pingback($ping->post_content, $ping->ID);
    }

    // Do Enclosures
    while ($enclosure = $wpdb->get_row("SELECT * FROM {$wpdb->posts}, {$wpdb->postmeta} WHERE {$wpdb->posts}.ID = {$wpdb->postmeta}.post_id AND {$wpdb->postmeta}.meta_key = '_encloseme' LIMIT 1")) {
    $wpdb->query("DELETE FROM {$wpdb->postmeta} WHERE post_id = {$enclosure->ID} AND meta_key = '_encloseme';");
    do_enclose($enclosure->post_content, $enclosure->ID);
    }

    ?>
    `

  18. dewall
    Member
    Posted 8 years ago #

    Anyone tried the above on WP 2.0.2? Would really like trackbacks and pingbacks to work

  19. spencerp
    Member
    Posted 8 years ago #

    Hmm, this is all too weird lol. I was just having problems with this the other day, did a test of one and my own trackback ended up in the "Comments For Moderation". LoL!

    Have the latest Spam Karma 2 and Akismet going. But, I could try that above code instead once..see what happens. =)

    spencerp

  20. SoundTrip
    Member
    Posted 8 years ago #

    I just took a look and you can apply the same change to 2.02.

    Back up the original file and just move the pingback block below the trackback block.

    For me this works and was necessary due to the sites I linked up against. It would be nice to find out if the WordPress developers had a reason for giving pingbacks precedence over trackbacks. It could just be luck of the draw.

    If in fact there is no reason perhaps an option on the write post page would make sense.

  21. SoundTrip
    Member
    Posted 8 years ago #

    did a test of one and my own trackback ended up in the "Comments For Moderation"

    Unfortunately this change doesn't address that issue. I have tried to suppress these to no avail although I only use akismet.

  22. spencerp
    Member
    Posted 8 years ago #

    Hmmm.. =( I'm not sure of this or not, but like Viper says from here/down

    About how the Spam Karma 2 and Akismet not playing well together, and he had to use that little plugin for it to work properly.. which I should [kickself] because I haven't tried that yet..

    I'll have to here soon. Hopefully some time soon, we'll get this whole thing squashed. ;)

    spencerp

    EDITED* Ok, I have now done that little plugin had mentioned. =D And disabled the normal Akismet one...

  23. dewall
    Member
    Posted 8 years ago #

    As I understand it the above solution is aimed at sending trackbacks. Is there anyone that has problems receiving trackbacks as well?

  24. frepa
    Member
    Posted 8 years ago #

    I have tried the solution above, but can still not either send or receive trackbacks.

  25. frepa
    Member
    Posted 8 years ago #

    Uppdate: I turned of the author highligt plugin and suddenly I can recieve trackbacks, but I can still not send TB.

  26. dewall
    Member
    Posted 8 years ago #

    I have now deactivated Inline Ajax Comments. I can now recieve trackbacks.

  27. dewall
    Member
    Posted 8 years ago #

    ...or not. Sometimes I can receive, sometimes I can't.
    I can't figure out the logic of this error

  28. gaiusarbo
    Member
    Posted 8 years ago #

    I'm new to WordPress, so bear with me.

    I first activated WordPress (automatic installation from Blue Host) on March 17th.
    From the start, I have never received anything from another site when they linked me. I could originally let them know I had linked them by entering the trackback URL in the post entry form. But that has completely stopped working now. I only know about links to me from TTLB, Technorati is NOT updating, either. It would seem there is some sort of bug at work here.

  29. ptp
    Member
    Posted 8 years ago #

    Using WordPress 2.0.2 here. Both Trackbacks and Pingbacks to the test site above worked just fine for me. Both Trackbacks and Pingbacks to my own site from the test site above also worked just fine for me. Pingbacks and Trackbacks to my own site also got through just fine.

  30. mlanger
    Member
    Posted 8 years ago #

    There has to be something that's causing some of us not to be able to send trackbacks or pingbacks and others to have no problems. I can receive both pingbacks and trackbacks but can't send either one. I've tried to numerous blogs with admins who were looking for the comment. I've even tried to the test site above. Nothing.

Topic Closed

This topic has been closed to new replies.

About this Topic