Are you bothered by the pingbacks and trackbacks some spam sites post on one of your blog entries? It’s good as far as they are not being posted by spam sites and is a legitimate way to quote mentions of your post by other sources. However now-a-days it’s mostly the spam sites trying to steal your visitors by posting pingbacks and trackbacks. Here are two things you need to do to disable trackbacks and pingbacks on your wordpress blog.
-
Disable pingbacks and trackbacks for new posts:
In your wordpress Admin panel go to Settings > Discussions and uncheck the box for “Allow link notifications from other blogs (pingbacks and trackbacks.)”. This will make sure that all newer posts have the pingbacks and trackbacks disabled. Remember this is only for the posts that you’ll publish going forward. The next step disables them for the past posts.
-
Use SQL to close the pingbacks and trackbacks:
If you are just starting out you can skip this step. All your wordpress data resides in a database. You’ll need to open the database using phpMyAdmin etc. (refere to your webhosting documentation) and run the following SQL query —
UPDATE wp_posts SET ping_status='closed' WHERE post_status = 'publish' AND post_type = 'post'; UPDATE wp_posts SET ping_status='closed' WHERE post_status = 'publish' AND post_type = 'page';
The first one disables them for all published posts and the second one disables them for all pages.
To disable or enable pingbacks for specific pages or posts, go to the post editor and under the post check or uncheck the box for “Allow trackbacks and pingbacks on this page” under Discussion.
Join 37,807 others and get free tutorials & tips on design & development using Wordpress on, Thesis & Genesis!
Need help with Wordpress, Thesis or Genesis?
Are you a designer or a developer looking for a hand with Wordpress, Thesis or Genesis? Or perhaps want to save time with a project? Get in touch and let's get the ball rolling! Check out our Thesis development, PSD to Thesis & other services.

{ 9 comments on How To Disable Pingbacks And Trackbacks On Your WordPress Blog… read them below or add one }
Thanks for the post.
It was really helpful.
Thank you very much for the post!
It just saved me from spammers through the pingback service.
Thanks, exactly what I was looking for right now.
What if I want to write a post in which I link to someone’s blog but do not want that person notified by pingback? Just for that post I mean. Any ideas?
Thanks.. Just saved me some time.
Just looking for this one…thanks
If you have to edit the database to change something like this you should be using a real CMS. Wordpress is great for basic blogging. A CMS it is not.
Hey! if i disallow the pingback in my wordpress than in future if i want to link one of my post to another than wouldn’t that be affected when pingbacks are disabled?
Lets do it shall we !