🚀 Is building a website too difficult? Let me guide you step by step—Learn about the 「Naibabiji WordPress Website Building Coaching Service」 →

WordPress automatically notifies the original site when reposting articles, but does not notify your own site

In the WordPress admin dashboard settings, there is a „Attempt to notify blogs linked in the article" feature. If enabled, when you publish an article linking to another WordPress site's article, that site will automatically receive a notification that you have referenced their article.尝试通知文章中链接的博客 The setting to attempt to notify blogs linked in the article is not enabled by default and needs to be manually checked. (A few years ago, it was enabled by default.)

What are the benefits of notifying the linked blog?

In the past, notifying other blogs was popular, mainly to inform the other blogger that you referenced their article and left their link, showing respect for originality, and it was also a way to visit each other's blogs. Additionally, if the other party approves your pingback notification, your article's title and link will appear on their site, indirectly attracting users from their site to click and visit. To summarize, the benefits of enabling notifications for linked blogs are:
  1. Respect originality, leave a link and notify the author;
  2. Get familiar; the other blogger usually visits your site in return;
  3. Gain traffic; after the other blogger approves your pingback, a link can be left on their site.

What are the disadvantages of pingback?

Nowadays, actively notifying other blogs is less common, but by default, most blogs have enabled the feature to allow other blogs to send link notifications. This means if you add a link to another site, it will still notify them. The drawbacks are:
  1. It may have some impact on network speed;
  2. Some bloggers may directly delete it as spam, leaving no link;
  3. A pingback notification will also appear for references to your own articles.
no self ping

How to resolve self-pingback notifications for your own articles

The method to resolve notifications for your own site's articles is very simple.Method 1: Add no self ping codeInsert the following code into the theme's functions file.
//no self ping
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' );
Tutorial for adding:Safe method to add code to the functions.php file: Code Snippets Method 2: Install a no self ping pluginYou can install thisno self ping plugin, compared to the code version, it adds a multi-site support feature. This means if you have multiple websites and don't want them to pingback each other, you can manually add the websites to the settings, so it won't notify the corresponding website's posts.

🚀 Still feeling confused after reading the tutorial? Let me guide you step-by-step instead.

「Naibabiji WordPress Website Building Coaching」 — From selecting a domain and purchasing hosting to installing themes and publishing posts, I「ll guide you through every step, helping you avoid detours and reach your goals directly.

👉 Learn about Website Building Coaching Service
🔒

Comments are closed

The comment function for this article is closed. If you have any questions, please feel free to contact us through other channels.

×
二维码

Scan to Follow