• Hi,
    I often link to posts on my blog, and when I publish them, a trackback/pingback appears in the comments of the linked post. I have to then manually delete each pingback.

    I would still like to refer to people who link to me, but not when I link to myself. Is this possible? If so, how can I do it?
    Thanks,
    Stephen

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Dave

    (@smachet)

    Thanks markjaquith, but unfortunately it seems my web host cannot work with PHPS. If I change the filename to .php, it gives me quite a few problems in WordPress.

    Is there a way to go about this, and just use a PHP filename?

    Thanks again!

    phps is used in order that visitors can see and copy the code.
    You should rename it .php and upload into the wp-content/plugins directory. Make sure there are NO blank lines – not even 1 blanks space! – at the very top and at the end.
    Most of the error mesaages come from this.

    Finally: using relative links in your blog, you can avoid the selfpinging.

    Thread Starter Dave

    (@smachet)

    That’s partially solved the problem, however now that it’s been activated, I get an error in the write post page:

    Warning: Cannot modify header information - headers already sent by (output started at /home/m/mache/www/blog/wp-content/plugins/autorelated.php:1) in /home/m/mache/www/blog/wp-admin/inline-uploading.php on line 5

    Warning: Cannot modify header information - headers already sent by (output started at /home/m/mache/www/blog/wp-content/plugins/autorelated.php:1) in /home/m/mache/www/blog/wp-includes/pluggable-functions.php on line 272

    You probably have a blank line or just a space before the opening <? or after the closing ?> in the plugin. Delete that, and it should be fine.

    But as Moshu said, relative links solve the problem. Instead of putting the whole address with http and the domain name, just link using

    /wordpress/path-to-post and it won’t do the self-ping thing.

    Thread Starter Dave

    (@smachet)

    There are definately no extra spaces/blank lines there. I deleted them and still get the same problem. I understand what you mean by using relative links, but I think it is easier to use the whole link (for printing or other reasons).

    I also get the following error when deactivating the plugin:
    Warning: Cannot modify header information - headers already sent by (output started at /home/m/mache/www/blog/wp-content/plugins/autorelated.php:1) in /home/m/mache/www/blog/wp-includes/pluggable-functions.php on line 272

    What’s going on!!??

    Thanks for all your help ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How do I disable Trackbacks/Pingbacks for internal links?’ is closed to new replies.