Pingbacks is a good way to notify someone you have linked in your article,It will help you to build a friendship with the niche bloggers.If you are lucky enough they may do same for you and it helps to increase Page Rank of your blog.

Whenever someone links your content the author will get email notification about the pingback but it becomes annoying when you link your own content in the article resulting pingback notifications to your Email.The worst part is,you are more likely to link your own content in the article than the others.So it becomes a serious issue for busy bloggers.

For example lets see pingbacks on Ma.tt (WordPress Founders blog).

matt-pingback

Disable Self Pingbacks Without Plugin

You just need to paste following code snippet to your themes Functions.php

function disable_self_trackback( &$links ) {
  foreach ( $links as $l => $link )
        if ( 0 === strpos( $link, get_option( 'home' ) ) )
            unset($links[$l]);
}

add_action( 'pre_ping', 'disable_self_trackback' );

Simple isn’t it ? But the problem is whenever you change the theme you need to make sure that its copied to your new WordPress Theme.If you are lazy like me then go for Plugins.

Disable Self Pingbacks using WordPress Plugin

Thanks to pauland,He made a simple plugin using the same code mentioned above.Install and activate a plugin called Disable Self Pingbacks.

Extreme solution : Disable Pingbacks

If your blog is very popular then I guess you dont rely on Pingbacks,So its better to completely disable Pingbacks from WordPress settings.This will be very useful for Techblogs which runs on WordPress.

From WordPress Dashboard go to Settings >> Discussion and Uncheck the second option “Allow link notifications from other blogs (pingbacks and trackbacks)” ,If you uncheck the first option then other blogs which you linked will not be notified.So its better to disable only incoming pingbacks.

disable-pingback-wordpress

Thanks to Pauland.co.uk

Comments

  1. says

    Hello,
    Pingbacks are really annoying for me. so, thanks for sharing this post. this is very helpful for me and i think this will be also helpful for all the newbie bloggers. :)

  2. says

    That’s really helpful, I had been searching for a solution to disable the auto-pingback function of wordpress for a while when I came to your blog. And it works without installing a wp plugin as well! (that’s important for me because I use wp.com’s free blogging and hosting service so I cannot install the huge amount of plugins available for wp.org users)
    Peter recently posted…A zene és a 3D nyomtatás – 3D nyomtatott hangszerekMy Profile

  3. says

    Pingbacks/trackbacks is really annoyed me in case of comment moderation process, because at least it comes 50+ daily in my blogs(each) where maximum are irrelevant to my blogs. As per Google’s recent disclosure says that un natural links may be a cause penalty. However, thanks for the easiest tutorial on this topic.
    Purbita Ditecha recently posted…Zyma Hosting Review – A Disgustingly Dishonest, Unethical & Unprofessional Web Hosting CompanyMy Profile

    • says

      Yeah Pingbacks and Trackback spams are increasing rapidly and its good to disable it. If you have Akismet installed then you don’t need to worry about that.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

CommentLuv badge