Post Pic

WordPress tip: Say goodbye to pingbacks

When another blog links to yours, WordPress automatically receive a pingback. This is cool because you are notified about it, but pingback don’t really add value to your posts. Considering that fact, what about getting rid of them?

First of it all, login to your phpmyadmin and select your WordPress database. Once done, click on the sql button to open the sql command window.

Paste the following sql command in the sql window:

UPDATE `wp_posts` SET ping_status="closed"; 

That's all! Now, pingbacks will not bother you anymore!

Thanks to Ozh for this simple, but very interesting tip.

Related Posts

Related Posts

No related posts.

18 Responses

Oct 09 2009 12:09

Well, you can handle the pingbacks as a kind of reward for your visitors. The link is nofollow, so it won’t harm your blog. But the ones that are linking to you will their name mentioned in your blog, which can stimulate people to link to you because of the mentions).

So think of that before you get rid of them :-)

Oct 09 2009 12:11

Although this tip me work, I don’t think it’s generally a good idea to suggest that the end user enter their database directly and start making updates. Too much potential for a troublesome mistake.

Oct 09 2009 12:14

Thanks for the comments! I’m not saying “you should get rid of pingbacks”, I’m showing how you can do it. The decision is yours :)

Oct 09 2009 12:41

Well, you talk about “bothering” pingbacks. I see no reason why a pingback should “bother” someone. With this point of view, the tip is useless and, as David states, could lead to serious trouble (when done incorrectly, when a new WP version uses a new database scheme etc).

Oct 09 2009 12:51

This will only disable on existing posts, for newer you must also disable them in settings.

Oct 09 2009 13:02

@ich: “The tip is useless” to you, that doesn’t mean it is useless for everyone. Pingbacks aren’t disabled on my sites but I still wanted to feature this tip because it can be helpful to some.

Oct 09 2009 13:10

Ye, I think not showing pingbacks as comments on the front-end of a site is a cool idea, but I think it’s important to track where links are coming from :)

Oct 09 2009 16:16

Good tip for those who want to keep the comments are less cluttered.

Oct 09 2009 16:24

Personally I think pingbacks is a good method to not only reward other blogs who are linking to me, but also give the visitor relevant information to continue reading.

When it comes to deactivating them. Wouldn’t it be easier to do it directly from Wordpress admin panel where there are a setting for it?

Oct 11 2009 07:10

I wouldnt consider removing pingbacks, for the following reasons

They are harmless.
It’s good to know who are linking to your post.
None of the top blogs do this.

Oct 12 2009 13:57

Why wouldn’t you just uncheck the “Allow link notifications from other blogs (pingbacks and trackbacks.)” under Settings – Discussion Settings? Much easier.

Oct 12 2009 17:41

I use WordPress as a CMS so ping backs are not appropriate for a non-blog format site such as mine.

Oct 12 2009 17:44

By the way you might want to mention if someone already changed their database prefix they have to change:

UPDATE `wp_posts` SET ping_status=”closed”;

to:

UPDATE `TheirOwnPrefix_posts` SET ping_status=”closed”;

Oct 16 2009 15:00

I might be wrong here but if we get a one way link from a blog, and then allow a ping back as a comment, doesn’t that link then become reciprocal, and thus, less valuable from a SEO point of view?

For this reason I’m just about to turn off pingbacks.

Oct 28 2009 13:39

I completely disagree with the opinion that pingbacks are entirely useless and that they only clutter a comments section.

Only very minor tweaks to comments.php are required to separate pingbacks from comments, and to display pingbacks in a more user-friendly manner (such as a OL or UL that displays the blog name/post title, rather than contextual text inside of ellipses).

Pingbacks are an important part of the inter-connectivity of the blogosphere, as a means of linking to similar content. The idea of disabling them is currently fashionable, but it is also short-sighted.

Trackbacks:

Leave a Comment

* Name, Email, Comment are Required