How to Disable Trackbacks and Pingbacks in WordPress by 3 Simple Ways

Most of the professional blogger use WordPress platform for their blogs. Because WordPress provides different themes and many plugins to make your blog very powerful. So WordPress is undoubtedly the best choice for bloggers. Whenever you interlink to at least one of posts in your own website, WordPress generates it as a trackback and shows it as comment in dashboard. Some Webmasters and Bloggers find this handy for SEO functions, that’s why they approve and a few gets irritated and trashes them.

Recommened : Best WordPress Plugins List

Trackbacks cause a lot of SPAM on your site. As your website gets popular, you will notice people will just copy your content and then send a trackback to your website, so they can get fake traffic to their  content that they plagiarized from your website. This practice is very common among spammers. Bloggers do get annoy when they receive pings created by WordPress.

If you want to stop future annoying pings in WordPress then use these 3 methods and you will be free of future pings in your blog.

No Self Pings

As I have describe about this plugin in my early posy, No self pings plugin is very useful plugin for automatic pings generated by WordPress, suppose you have written one post and you have interlink that post to other posts, so this is very annoying for bloggers to see that pings are generated in comment section. So it prevent self ping created by your own WordPress blog. So now with this plugin you can easily stop annoying pings.

Using Php MyAdmin in hosting Cpanel

How to stop annoying existing pingbacks in WordPress with your hosting cpanel. For that you have run MYSQL query in your database, but before doing so I would like to inform you that create a backup of your database. Because in case if anything goes wrong you can lose your data.

First you need to login to Php Myadmin in your hosting cpanel.

Then after that you need to click SQL tab in your database.

You have execute this query and you are done then.

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’;

So after running this query you will be free of any annoying pings that are existing on your WordPress blog.

Turn them off in your functions.php file:

Add this to your theme’s functions.php file:

//remove pings to self

 function no_self_ping( &$links ) {

 $home = get_option( ‘home’ );

 foreach ( $links as $l => $link )

 if ( 0 === strpos( $link, $home ) )

 unset($links[$l]);

 }

 add_action( ‘pre_ping’, ‘no_self_ping’ );

I hope above 3 described methods helps you in stopping WordPress pings, in case you face any trouble regarding this drop me your query in the comment section, I will assist you at my best.

Do you have any other methods to stop this, share in the comments below!!

Image Credits: Flickr

You can also Join BloggersIdeas on Facebook & Google+ for more similar updates.

Recommended Hosting

CloudWays
Features
Support
Pricing
Super fast

Pros

  • Special Offer Pay As You Go
  • Reliable WordPress Hosting
  • Top Notch Customer Support
  • Fast & Convenient

Cons

  • Basic Technical Knowledge Required

Humble Request

if you really enjoyed this post please share this post to your friends so they learn something new and grow in digital marketing. Your valuable comments are oxygen for me.
SHARING IS ♥️

About Jitendra Vaswani

Jitendra Vaswani is the founder of SchemaNinja WordPress Plugin, prior to SchemaNinja he is the founder of big internet marketing blog BloggersIdeas.com. He is successful online marketer & award winning digital marketing consultant. He has been featured on HuffingtonPost, BusinessWorld, YourStory, Payoneer, Lifehacker & other leading publication as a successful blogger & digital marketer. Jitendra Vaswani is also a frequent speaker & having 5+ yrs experience of in Digital Marketing field. Check out his portfolio( jitendra.co). Find him on Google+, Twitter, & Facebook.

3 Comments

  1. Three simple steps indeed. You are right about spammers taking advantage of trackbacks to achieve their spam objectives. These tips will help people dealing with this problem.

    Thanks for writing about this and sharing this on the Internet marketing social networking and bookmarking site – Kingged.com where I found and “kingged” this, Jitendra!

    Reply  
  2. This is a way to report legacy blog systems that you’ve linked to them. And we have to admit that some individuals or companies have abused the TrackBack feature to insert spam links on some blogs. And I find this post of yours very simple and catchy, clear and concise! I am pretty sure this one will be very helpful. Thanks for this!

    This comment was left on the Internet marketing site – kingged.com where this post shared.

    Reply  
    • Yes metz spammers had misuse this trackbacks system. So it is very imp to stop this spam practice with these short & simple tricks.

      Reply  

Leave a Reply

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