• Forgive the ignorance I am about to show here.

    Ok…so I have built a blog on WordPress.
    I believe it’s 2.0.1

    I have enabled the following options:
    Attempt to notify any Weblogs linked to from the article (slows down posting.)
    Allow link notifications from other Weblogs (pingbacks and trackbacks.)
    Allow people to post comments on the article

    I can see “incoming links” on the dashboard … but nothing shows up in the comments as trackbacks.

    Here are the factors that may be complicating things.

    1) Link format.
    The support thread I read that was a similar issue had to do with the format of the trackback link.
    While this may be an issue… shouldn’t the pingback functionality STILL work?
    I have tried both methods with no luck.
    But for the sake of compete disclosure…

    I have chosen the permalink format of:
    https://mydomain.com/archives/123
    The trackback URLS seem to show up as:
    https://mydomain.com/archives/123/trackback/

    When I place the trackback URL into a browser window I get:
    OK
    The document has moved here.
    To be honest I’m not sure if that’s supposed to happen or not.
    I EXPECTED to end up at the permalink page.

    So that may be an issue…
    But even if it is why would the pingbacks not be working?

    2) I have anti comment spam plugins running.
    Specifically Bad Behavior & Captcha!
    Not sure if those affect the pinkback / trackback functions – but there’s nothing showing up as needing to be moderated or anything.

    3) I am using a custom theme.
    It’s also completely feasible that I am missing something in the templates I have created.
    I have added the following code to the single post page:
    <!–<?php trackback_rdf(); ?> –>
    and I have added the meta tag
    <link rel=”pingback” href=”https://mydomain.com/xmlrpc.php&#8221; />
    In my header I have also included the following code:
    <?php wp_head(); ?>

    Is there anything else I should be doing?

Viewing 10 replies - 31 through 40 (of 40 total)
  • Hi,

    I have the same issues with pingbacks here – not receiving any… trackbacks work fine, though…

    Please take a look at this post:
    https://www.saphod.net/wordpress-pingback-testing/

    Any ideas?

    WordPress 2.0 was the first time I used a blog and I did not receive any pingbacks – either internal or external. I upgraded to 2.1.3 and still no pingbacks or trackbacks. I am using ProtectWebForm Captcha plugin. I found out from the developers that their Captcha does not interfere with pingbacks.

    https://www.iqi-sm.com/blog/

    I have the necessary files in place along with the pingback header. It still does not work.

    Try deactivating and re-activating your plugins one by one and then send a pingback from a testblog each time.

    This worked fine for me. I was using the “Anti Spam Image” comment captcha plugin which was interfering with pingbacks.

    So, although they say your plugin does NOT interfere, you better try testing by yourself. ??

    Maybe this may help (no self-marketing here!):
    https://www.saphod.net/issues-with-incoming-pings-resolved/

    I also had a problem on receiving pings. It turned out that mod_security blocked access to xmlrpc.php.
    I have added this to my .htaccess file:

    <Files xmlrpc.php>
    SecFilterInheritance Off
    </Files>

    I have tested it and pingbacks work fine again!

    Just wanted to report that this thread helped me solve my trackback problems: Unticked the checkbox requiring commenters to leave name and e-mail address, and now incoming trackbacks seem to work… ??

    Hi,
    In Options, check that this option is ticked:
    Attempt to notify any Weblogs linked to from the article (slows down posting.)

    Hi

    Ive just been trying to fix the same problem. I added the following code into my single.php page and seems to work once trackback setup in admin

    code

    “>Trackback This Post |
    “>Subscribe to the comments through RSS Feed

    Here is what it looks like Chris McDermott BLOG

    Chris

    petter

    (@petter)

    I probably have the same missing incoming ping problem. For debugging I enabled logging in xmlrpc.php by changing an initial value like this:
    $xmlrpc_logging = 1;

    Then I made a pingback to myself from TestTrack (trackback works fine both in and out). This pingback did *NOT* show up in my blog comment field. Here is the debug output from the xmlrpc.log file:

    2007-11-28 13:42:46  Input: <?xml version="1.0"?>
    <methodCall>
    <methodName>pingback.ping</methodName>
    <params>
    <param><value><string>https://www.tamba2.org.uk/wordpress/TestTrack/2007/11/28/testingpinging/</string></value></param>
    <param><value><string>https://neppe.no/2007/04/test/</string></value></param>
    </params></methodCall>
    
    2007-11-28 13:42:46  Output: (PB) URL='https://neppe.no/2007/04/test/' ID='106' Found='url_to_postid()'

    This might also be related: PHP version 5.2.1. WordPress version 2.3.1, K2 RC 3 and Akismet. Commenter name and e-mail was not required during the test.

    PS: Due to comment spam, comments and trackbacks are now closed on the post used in this example.

    petter

    (@petter)

    By adding more debug in xmlrpc.php, I may have identified my problem. Either the php variable allow_url_fopen must be enabled, or the curl library needs to be installed. Without any of them, incoming pingbacks will not be parsed completely.

    After some digging in the WP source (specifically the trackback() function in wp-include/comment.php) I’ve tracked down what I think to be the culprit:

    Using fsockopen() with fputs() doesn’t reveal anything suspicious about the request as it returns error code 0, a valid resource handle, and no error message. The oddness starts when discovering that no request has actually ever been made to the target server. However, passing the generated headers and data through curl reveals this:

    curl: (18) transfer closed with 1 bytes remaining to read
    <html><head><title>Error</title></head><body>The parameter is incorrect.</body></html>

    It seems the following two lines from the header data are causing the request to be malformed:

    POST /path/to/trackback HTTP/1.0
    Host: some.host.com

    I took those out and sent it through curl again with this result:

    <?xml version="1.0" encoding="UTF-8"?>
    <response>
      <error>0</error>
    </response>

    Perfect.

    Hope this helps.

    Cheers,
    Kyle

Viewing 10 replies - 31 through 40 (of 40 total)
  • The topic ‘Trackback and Pingback not doing anything…’ is closed to new replies.