You could try this by putting code in functions.php in your theme.
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' );
Hope this helpful to you.
Related Posts:
- What is rel=”pingback”, and what is the use of this in my website?
- Is There a Way to Completely Turn Off Pingbacks/Trackbacks?
- Shall i disable pingbacks and trackbacks in my blog?
- Disabled trackbacks in WordPress but I am still receiving trackbacks
- What Data Is Being Sent To/From Sites With Trackback Or Pingback?
- How do I stop Topsy from spamming my site with those annoying trackbacks?
- pingback returns faultCode 0, no message
- Why don’t I see pingbacks?
- Delay the ping to Google when publishing new Posts or Pages
- Disable pingbacks/trackbacks on WordPress Pages
- Why does WordPress cap the number of pingbacks it attempts per post?
- Get Posts Link With Each Other
- Source of Pingbacks
- Disable pingbacks and trackbacks in blog posts
- Does blocking xmlrpc.php affect pinging update services like pingomatic
- Remove option to allow trackbacks/pingbacks from post page options
- How to auto-approve internal pingbacks?
- Disabling pingback and trackback notifications
- How to remove pingback from head?
- How can comments be submitted when I don’t have a comment box on a page?
- Altering the pingback functionality
- How to show Disqus comments and pingbacks?
- Turn off trackback/pingbacks and comments on all existing multisite sites
- Disable External Pingacks on WordPress Posts and Only Allow ‘Self Pings’
- Why do Trackbacks/Pingbacks not appear below my posts/pages?
- How do I permanently disable Pingbacks?
- Notify WordPress Site I Have Linked To Them
- Pings and replies
- How to disable WordPress trackbacks?
- Compact pingback list with favicons
- How can I delete all my existing trackbacks?
- Separete trackbacks/pings and numbered comments
- Disqus comments and pingback script – how to change the order?
- Comments vs. Pingbacks next page issue
- Notify Jenkins of new post on WordPress
- Using defer or async JavaScript attributes prevents pingbacks and trackbacks from being sent
- Enable nested comments in Theme
- How do I get the trackback count of a post in wordpress without writing an SQL query?
- Disable comments and pingbacks on old custom post types
- Outgoing new connection to linked Websites – why?
- exclude pingbacks from wordpress SQL query
- counting trackbacks, pingbacks and comments of a post
- Comments and pingbacks issues
- Default Gravatar not showing for pings
- pingbacks testing
- How to Send Pingbacks for all Posts in WordPress?
- XMLRPC pingback.extensions.getPingbacks not work with parameters