How to Disable Pingbacks and trackbacks on your own domain

How to Disable Pingbacks and trackbacks on your own domain

Linking to your posts is also known as interlinking. Good for SEO, but as the setting for pingbacks and trackbacks turned on your site can happen that you still get a message for a particular message. WordPress automatically creates a new pingback for a story. This pingbacks are reflected in the comments of a post. There are many users that this functionality is not annoying, in this article I’ll show you how you can disable pingbacks and trackbacks on your own domain.

What is a pingback?

Pingbacks gives WordPress (and other software) a communication capability between sites. You can compare it with comments at a distance. Try to imagine the following:

You write an article on your WordPress blog.
You then write an article on your blog where you give a reference to another article.
The software of your blog (mostly WordPress) sends a signal and will automatically send a ping back.
WordPress will receive the ping and will instantly create an alert that lets you check whether the ping back is correct.
You have the ability to block the ping back or accept. This will be shown in the form of a response to the article.

Pingbacks also work within the same website. If you insert a link to another article in the same site you will receive a so-called self-ping. This could be perceived as irritating, especially for blogs with a lot of internal links. Now you know what is a ping back, I’ll show you how to disable self-pings in WordPress.

There are a number of ways to disable self-pings in WordPress.

  •  Use the “No Self Pings” plugin

Install and activate this the “No Self Pings” plugin that you can find in the WordPress plugin directory. This plugin works without any configuration. All you do is to install and activate the plugin. However, this so simple that it without any problem in the latest version of WordPress.

2) Use the “disabler” plugin

Another plugin that allows you to disable self-pings on your blog. Install and activate the “disabler” plugin. However, this plugin does require a small configuration setting to work properly. Navigate to Settings> disabler page to configure the plugin. You will find that this pluginwill work fine after activating a number of standard WordPress functionalities. Scroll to the Back end settings and select the disable self pings option.

3) Disable Pingbacks without using a plugin

If you do not want to use plugins, but wants to disable pingbacks, Use one of these two methods to disable self-pings on your site.

Disable global pingbacks

WordPress gives a standard with an option to disable global pingbacks. By disabling this setting, you set your website not to receive any pingback. Go to Settings> Discussion. Under “Default message settings,” uncheck the option “ ” off. Click Save to apply the changes.

Please enter a short code

If you know where to find the road in the PHP source files from the theme files of WordPress? Then you can use the following method to disable self-pings. Simply copy the code below and add it to the functions.php file from the current active theme:

function no_self_ping( &$links ) {
$home = get_option( ‘home’ );
foreach ( $links as $l => $link ) {
if ( 0 === strpos( $link, $home ) ) {

add_action( ‘pre_ping’, ‘no_self_ping’ );

You now know how to disable self-pings in 4 different ways to your WordPress blog. Do you have a question or comment? Let it be known by making use of the comment box below on this page.