Title: Disable Self-Pingbacks
Last modified: August 18, 2016

---

# Disable Self-Pingbacks

 *  [skippy](https://wordpress.org/support/users/skippy/)
 * (@skippy)
 * [22 years, 3 months ago](https://wordpress.org/support/topic/disable-self-pingbacks/)
 * I’m in the habit of linking to my own previous posts a great deal when I post.
   When I do this, WP sends a pingback to itself, and I get an email about the matter.
   
   Sometimes my self-link will be the only link in a post, so I could untick the“
   pingback URLs” checkbox. But sometimes I refer to my previous posts _and_ I want
   to pingback other people in the same post. I’d like to request that WP not pingback
   itself. For those instances where there are multi-author blogs who _want_ to 
   pingback entries from other authors on the same WP install, perhaps this should
   be a global option?

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [Hella](https://wordpress.org/support/users/hella/)
 * (@hella)
 * [22 years, 3 months ago](https://wordpress.org/support/topic/disable-self-pingbacks/#post-40834)
 * I agree, it would be a nice option to NOT pingback your own site.
 *  Thread Starter [skippy](https://wordpress.org/support/users/skippy/)
 * (@skippy)
 * [22 years, 3 months ago](https://wordpress.org/support/topic/disable-self-pingbacks/#post-40835)
 * Looks like we can add a condition to the test on line 1079 in wp-includes/functions.
   php:
    **original:** foreach($post_links_temp[0] as $link_test){ $test = parse_url(
   $link_test); if (isset($test[‘query’])) { $post_links[] = $link_test; } elseif((
   $test[‘path’] != ‘/’) && ($test[‘path’] != ”)) { $post_links[] = $link_test; }}
   Modify the elseif line to look like: } elseif(($test[‘path’] != ‘/’) && ($test[‘
   path’] != ”) && ($test[‘host’] != $_SERVER[‘SERVER_NAME’]) { **Note: I have not
   tested this yet.** Suggestions for a more WordPress-ish solution?
 *  [Laughinglizard](https://wordpress.org/support/users/laughinglizard/)
 * (@laughinglizard)
 * [22 years, 3 months ago](https://wordpress.org/support/topic/disable-self-pingbacks/#post-40841)
 * I believe that this has already been taken care of in the CVS/nightly versions.
   If I am wrong, could the devs please correct me?
 *  [gregh](https://wordpress.org/support/users/gregh/)
 * (@gregh)
 * [20 years, 12 months ago](https://wordpress.org/support/topic/disable-self-pingbacks/#post-41350)
 * See also:
 * [http://wordpress.org/support/topic/38060](http://wordpress.org/support/topic/38060)
 *  [mickej](https://wordpress.org/support/users/mickej/)
 * (@mickej)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/disable-self-pingbacks/#post-41371)
 * This may be an ugly solution that i use, but it seem to work:
 * [http://wordpress.org/support/topic/60763?replies=5#post-327154](http://wordpress.org/support/topic/60763?replies=5#post-327154)

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Disable Self-Pingbacks’ is closed to new replies.

 * In: [Requests and Feedback](https://wordpress.org/support/forum/requests-and-feedback/)
 * 5 replies
 * 5 participants
 * Last reply from: [mickej](https://wordpress.org/support/users/mickej/)
 * Last activity: [20 years, 4 months ago](https://wordpress.org/support/topic/disable-self-pingbacks/#post-41371)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
