WordPress.org

Support

Support » How-To and Troubleshooting » Trackbacks aren’t working on my blog

Trackbacks aren’t working on my blog

  • My Trackbacks aren’t working my on blog. People try to trackback to posts from my site and are sayin it isn’t working.
    The URL for my trackbacks are like this:

    http://my.domain.com/wp-trackback.php/43

    yet, my posts and category URLs are like this:

    POSTS: http://my.domain.com/index.php?p=43
    CATEGORIES: http://my.domain.com/index.php?cat=1

    and when I type the trackback URL in my browser, I get an error message saying “The page cannot be found”.
    I’m using the default Permalink structure, so there’s nothing to add to the .htaccess files, that I know of.
    How can I get this working? I’ve tried ScriptyGoddesses’ hack and Eric Meyer’s plugin, too. Nothing seems to work. Aarrgh!
    🙁

Viewing 10 replies - 1 through 10 (of 10 total)
  • Yep, had problems like that. Solutions (choose one):
    1. Add to .htaccess:
    <Files "index.php">
    AcceptPathInfo On
    </Files>

    2. In wp-comments.php, change the trackback link info to:
    <?php bloginfo('url'); ?>/trackback.php?p=<?php the_ID() ?>
    3. In template-functions-comment.php, go to the trackback_url function and change:
    $tb_url = get_settings('siteurl') . '/wp-trackback.php/' . $id;
    to:
    $tb_url = get_settings('siteurl') . '/wp-trackback.php?p=' . $id;

    Okay, Kafkaesqui, it’s done, just as outlined.
    That fixed the URI for the trackback to the proper style, but when I enter that URL in the browser and press go, I get a HTTP 404 “The page cannot be found” error.
    aren’t the trackback URI’s supposed to resolve to the post itself?

    7milesdown

    @7milesdown

    Yes, finally! That fixed my trackbacks! THANKS. Been diggin thru the forums for days, and your the first person to actually help out and get something going that I could try that workd.

    Kafkaesqui, DANG! DANG! Now that you showed me that, I should have noticed that, myself!
    I was so far into this, getting so frustrated, I couldn’t see the forest for the trees, so to speak.
    As 7milesdown said…you have done a good thing, my friend! This needs to go in the WIKI.
    Many thanks! Off I go to fix this now.

    I used the above 3 fixes, and did incoming and outgoing links (did a link to WordPress post from MT, which WordPress recorded and put under my comments) but the WP post I did referringf to a MT post did NOT show on the MT blog. So, my incoming tb’s work (WordPress received it from my MT blog) but my MT blog did not receive it from WordPress). I put the htaccess file in my WordPress root. Any ideas?

    Moderator James Huff

    @macmanx

    There could be something wrong with your MT blog. Does it correctly receive trackbacks from other sources?

    Yes, it does receive trackbacks from other blogs. I just tried it from my dotText blog, to the entry at
    http://theoblogical.org/movtyp/archives/003642.html from
    http://blogs.theoblogical.org/blog/archive/2004/11/13/328.aspx

    I tried Door #1 and received a 500 error when trying to edit posts. I using shared hosting, which must dislike adding to .htaccess your suggestion:
    <Files "index.php">
    AcceptPathInfo On
    </Files>

    Both my incoming and outgoing trackbacks have stopped working. I had toyed with permalinks changes, but gone back to default permalinks after I couldn’t get the archives for previous months to work even with the “rewrite rules”.
    I tried number 1 and got an immediate internal server error. I tried just viewing my blog and got nothing but an internal server error. Had to upload a new blank .htaccess by FTP to make the site work again.

    My incoming trackbacks work–as far as I know, since no one has said otherwise when sending trackbacks–but my outgoing ones are completely ignored when I put them in the trackback information fields on “Create New Post.”
    As a result I have to do a manual trackback, which is a total pain in the a$$.
    When I look at the edit post frame after saving/publishing, it DOES show the information in the fields as having been saved, but nothing is going to the trackbacked post.
    Any ideas?

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Trackbacks aren’t working on my blog’ is closed to new replies.
Skip to toolbar