How to Stop Wordpress from Pinging Itself

March 17th, 2008

WordPress by default sends pings to your own site every time you link to other posts on your own blog. This appears as a pingback on the post you have linked to, in the comments section. Some people might see this as a feature, allowing you to leave a trail of related posts. I find it messy.

Here’s how to stop it

The very simplest solution is to just use relative urls. So instead of linking like this:

<a href="http://jamazon.co.uk/web/2008/03/17/half-a-sexy-fish/" />

Use relative URLs

<a href="/web/2008/03/17/half-a-sexy-fish/" />

I’d argue that this is good practice anyway. If you don’t want to do that, then there’s a simple plugin, which (apparently) requires no configuration. Just unzip it into your plugins directory and activate it.

http://downloads.wordpress.org/plugin/no-self-ping.zip

Posted in Web | Tagged with: , , ,

4 Responses

  1. Elsa

    And there is what some alternative? ;)

  2. Engagement Rings

    You have mentioned very interesting points ! ps nice website .

  3. Bonianoxy

    I just couldn’t resist and want to thank you for this magnificent post. I even wrote a blog post about it here http://awesomemovies.org/drama/the-godfather-part-ii/

  4. Simon

    Thanks for the plugin suggestion, but it seems out of date (works with up to 3.0.5). Do you know of any plugins that would do the same for current WP versions?

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.