WordPress.org

Forums

Pingbacks not working (11 posts)

  1. mriedel
    Member
    Posted 6 years ago #

    Pingbacks don't work for me, neither incoming nor outgoing. Enabling logging in xmlrpc.php and making sure the logfile is word-writable produces nothing but an empty logfile.

    My blog is on lighthttpd, using pretty permalinks and the following mod_rewrite rules:

    $HTTP["host"] =~ "mriedel\.org" {
            url.rewrite-once = (
                    # Exclude some directories from rewriting
                    "^/([a-z]{2}/)?((wp-admin|wp-includes|wp-content|files)/.*)" => "/$2",
                    # Exclude .php files at root from rewriting
                    "^/([a-z]{2}/)?([^/]*\.php)" => "/$2",
                    # Handle permalinks and feeds (qTranslate)
                    "^/([a-z]{2})/(.*)$" => "/index.php/$2?lang=$1",
                    # Handle permalinks and feeds (no qTranslate or qTranslate default language)
                    "^/(.*)$" => "/index.php/$1"
            )
    }

    imo, those rules should cover xmlrpc.php. I can reach mriedel.org/xmlrpc.php in the browser, so it should be fine.

    plugins installed and activate:

    - qTranslate
    - all in one SEO pack
    - statPress
    - WP-Syntax
    - WP Security Scan

    Any help appreciated :)

    Edit: trackbacks don't work either

    Edit2: an incoming testback test produced the following in the logfile:

    2009-01-05 03:27:13  Input: <?xml version="1.0"?>
    <methodCall>
    <methodName>pingback.ping</methodName>
    <params>
    <param><value><string>http://smartyr.wordpress.com/2009/01/05/trackback-test/</string></value></param>
    <param><value><string>http://mriedel.org/2009/01/05/another-pingback-test/</string></value></param>
    </params></methodCall>
    
    2009-01-05 03:27:13  Output: (PB) URL='http://mriedel.org/2009/01/05/another-pingback-test/' ID='66' Found='url_to_postid()'
    
    2009-01-05 03:27:19  Input: <?xml version="1.0"?>
    <methodCall>
    <methodName>pingback.ping</methodName>
    <params>
    <param><value><string>http://smartyr.wordpress.com/2009/01/05/trackback-test/</string></value></param>
    <param><value><string>http://mriedel.org/2009/01/05/another-pingback-test/</string></value></param>
    </params></methodCall>
    
    2009-01-05 03:27:19  Output: (PB) URL='http://mriedel.org/2009/01/05/another-pingback-test/' ID='66' Found='url_to_postid()'

    yet no trackback is shown.

  2. mriedel
    Member
    Posted 6 years ago #

    bump

  3. mriedel
    Member
    Posted 6 years ago #

    bump

  4. mog
    Member
    Posted 6 years ago #

    I got an email from a MT blogger that has been getting dozens of pings from my posts, one I posted Sunday which he has been getting pings for yesterday and today when I didn't edit it. When I checked, it showed it hadn't pinged his blog and the link was still in the send trackbacks spot of post page. Any clue why this is happening?

  5. mriedel
    Member
    Posted 6 years ago #

    bump

  6. mriedel
    Member
    Posted 6 years ago #

    bump

  7. mriedel
    Member
    Posted 6 years ago #

    it's not a plugin or theme problem. Pingbacks and trackbacks don't even work when i turn off all plugins and use the default theme. So it's either a problem with lighttpd or a bug in wordpress

  8. mriedel
    Member
    Posted 6 years ago #

    I've switched to apache to test it there - still no luck. On the edit post screen, the correct URLs are listed as "already pinged" but neither incoming nor outgoing pingbacks actually work. same for trackbacks.

    what can this possibly be?

  9. mriedel
    Member
    Posted 6 years ago #

    okay outgoing pingbacks seem to be working now (didn't do anything, maybe it just took some time) but still no luck on incoming ones.

  10. 11Mystics
    Member
    Posted 6 years ago #

    FWIW, I was having this same problem - I could send trackbacks but not receive them. The problem for me was that I had a function in place that was blocking the trackbacks. I forget where I got it, but this is what it is:

    function check_referrer() {
    if (!isset($_SERVER['HTTP_REFERER']) || $_SERVER['HTTP_REFERER'] == “”) {
    wp_die( __('Please enable referrers in your browser, or, if you\'re a spammer, bugger off!') );
    }
    }

    I think I got that from a Smashing Magazine article actually. Anyway, when I blew that away, suddenly incoming trackbacks showed up on my articles.

  11. dsextonj
    Member
    Posted 5 years ago #

    11mystics,

    Which file do you find this function in?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.