WordPress.org

Support

Support » How-To and Troubleshooting » Pingbacks not working

Pingbacks not working

  • 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.

Viewing 10 replies - 1 through 10 (of 10 total)
  • bump

    bump

    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?

    bump

    bump

    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

    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?

    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.

    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.

    11mystics,

    Which file do you find this function in?

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Pingbacks not working’ is closed to new replies.
Skip to toolbar