WordPress Not Pinging? – Here’s To How To Fix It!

It’s been a funny old week since I updated to WordPress 2.9, don’t get me wrong the new update is fantastic and some of the new features are extremely useful to use, but, and this is a big but, after installing the update, every time I made a post or used a ping back or trackback my WordPress blog would not ping or send pingbacks to other sites!

But now since making a tiny little tweak to the file “wp-includes/cron.php” I’ve fixed the problem!

If you look at the original code for cron.php you will find the following code:

$cron_url = get_option( ‘siteurl’ ) . ‘/wp-cron.php?doing_wp_cron’;
wp_remote_post( $cron_url, array(‘timeout’ => 0.01, ‘blocking’ => false, ‘sslverify’ => apply_filters(‘https_local_ssl_verify’, true)) );

You will notice that I have made a bit bold! This is what you need to change, change this to 1 so now it should read:

$cron_url = get_option( ‘siteurl’ ) . ‘/wp-cron.php?doing_wp_cron’;
wp_remote_post( $cron_url, array(‘timeout’ => 1, ‘blocking’ => false, ‘sslverify’ => apply_filters(‘https_local_ssl_verify’, true)) );

Now you should find that you pings are now working again, hopefully, I checked mine via the Ping Optimizer plugin and the log on the plugin confirmed a ping status!

Please remember before using this tweak, back up your original “wp-includes/cron.php” file, just in case, you never know 😉

Karen Woodham
Karen Woodham is the founder and owner of the Blazing Minds, an avid blogger and bona fide journalist. She is also a Cinema Film Reviewer, based at the Scala in Prestatyn, where she reviews the latest movies, she has also had several articles published in various publications. She has recently become an Award Winning Blogger and is listed in the UKs Top 10 Film Blogs.
READ:  Improve your RSS with Feedburner and Comment Luv
Karen Woodham


Award winning Entertainment website, with reviews, event coverage & exclusives, listed as one of the 10 Best UK Blogs. Founded by @KarenNWoodham
Karen Woodham
Karen Woodham
  • iWoodpecker

    Nice one 🙂 I’ve checked my pings after update and it came out, that there were none of them! So I’ve followed your advice.. now it’s OK.
    Bookmarking, tweeting etc

    T-H-A-N-K Y-O-U!
    .-= iWoodpecker´s last blog ..Insane List of 140 Do Follow & Nofollow Blogs with CommentLuv 2010 =-.

    • Glad to be of some help and thanks for bookmarking and tweeting etc, it’s very much appreciated 😉

  • Book marked, tweeted and wrote a post linking back to help spread the word. How do you check your pings like you were, what did you look at to determine there was even a problem? How do you check if your site is giving pingbacks to other sites properly?
    .-= Dragon Blogger´s last blog ..Fix WordPress 2.9 Ping and Traceback Issues =-.

    • Thanks for the post and link back, I use the Ping Optimizer to check my pings and it’s log wasn’t showing any pings on updates to posts etc, it is a handy plugin it only pings when you make a new post instead of pinging every time you edit a post.

  • Great post. I had heard about this and was waiting to upgrade. I will try this tonight. I voted for this on Blog Engage, Retweeted and posted a link on my blog about your post.
    .-= element321´s last blog ..How to fix WordPress Ping Once it Stops Working. =-.

    • Thanks for the vote, RT and the link on your blog post, very much appreciated 😉

  • Extreme John

    It looks like there are a few issues with the new WordPress, I just left another blog that had a similar post about repairing the issue.
    .-= Extreme John´s last blog ..This Exchange Website, That Exchange Website! =-.

  • 😆 Now if I could just fix the other problem of not been able to edit themes with the theme editor!

  • Michael

    Thank you so much for this! Pings were showing up rather erratically before.
    .-= Michael @ Monetize your Life´s last blog ..Failure Quotes – Celebrating my Failures of 2009 =-.

    • Glad to be of some help 😉

  • Alison Moore Smith

    More good info from you Karen. PHP geniuses rock.
    .-= Alison Moore Smith@Blog in 1 Week´s last blog ..BlogEngage: First 10,000 Votes =-.

  • Ah Karen so you are tweaking WordPress now, this is Awesome 😉

    Also the Simple Tag plugin is not working with the 2.9 version.
    .-= Hesham @ FamousBloggers´s last blog ..Breaking News: The Latest Stable Release of WordPress Version 2.9 “Carmen” is Available =-.

    • I can’t take all the credit, a friend of mine mentioned the word “Cron” so I looked through the WP files and found a file to check out and then changed a setting! It wasn’t the first file I tried editing 😉

  • Mike

    I had some serious headaches with 2.9 – mostly conflict with plugins, but I’m going to have to see if I’m having this problem too.
    .-= Mike´s last blog ..Fresh Brews: Coffee Obsessed And Free Wifi =-.

    • So far, plugins are not a problem, themes yes! But not plugins 😆

      • I think I’ll wait for the 2.9.1 . I hope they will fix everything by then, and the plugins will be updated and ready for the 2.9 😉

  • kewl post karen… 1st time in your page.. and i so love it.
    great help you are to me. Aja!
    .-= mark´s last blog ..Watch Alvin & The Chipmunks – The Squeakquel Free Online =-.

    • Glad to help 😉

  • by the karen, I made a made a post regarding this one… pointing to your site. Happy holidays karen!
    .-= mark´s last blog ..Dungeons & Dragons Spellcasting Soda for Holiday Season =-.

    • Thanks Mark, it’s been pinged 😉

  • Karen, I admire your skills. When I grow up I’m gonna learn more about code!
    .-= Ileane´s last blog ..Fun Twitter Promotions for Your Blog =-.

  • Anand Srinivasan

    I have been having trouble with one of my new blogs. Let’s see how it changes..By the way, Karen..any idea about this other line in the code:

    $crons[$timestamp][$hook][$key] = array( ‘schedule’ => false, ‘args’ => $args );

    Schedule is set to false? Is there something wrong here?
    .-= Anand Srinivasan´s last blog ..Be A Part Of The Bloggies Network =-.

    • Leave that code, as far as I know it used when you schedule a post 😉

      • Anand Srinivasan

        Aargh..How did I confuse scheduling with pinging! :O
        .-= Anand Srinivasan´s last blog ..KnewThis Blogger Contest – Earn All That We Earn =-.

  • Heather Kephart

    Amazing, Karen! I’m sorry you had to go through the initial frustration of all of this, but kudos to you for amending the situation. Also, thanks for sharing your solution so others don’t have to go through what you did for long!
    .-= Heather Kephart´s last blog ..Hyenas and Secret Cheerleaders =-.

    • Just trying to be as helpful as I can 😉

  • Dennis Edell

    Awesome quick tip Karen, thanks!
    .-= Dennis Edell´s last blog ..The $10 Winner And More Good News….. =-.

  • George Serradinho

    Wow, i did not even know about this. this makes a huge difference to any kind of site/blog, from the small to the big guy.

    Thanks for sharing this. I will be adding this post to my Monday roundup for next week. I don’t know if others know about it.
    .-= George Serradinho´s last blog ..eBook – Delicious Candy Recipes =-.

    • Thanks George that’s much appreciated 😉

  • Sonya

    Could you tell me where I find the cron.php file please, so I can edit to see if that fixes my problem.


    .-= Sonya´s last undefined ..If you register your site for free at =-.

    • Hi Sonya, I did mention in the beginning of the post that the file is located at “wp-includes/cron.php”

  • Roberta Rosenberg

    Hi, I tried this and got it to validate for a few minutes and then poof. Back to 404. Very frustrating. (As you can see below, my feed stopped working Christmas.) Think it’s a plugin conflict issue then?
    .-= Roberta Rosenberg is hoping you stop by and read MavenTweets for 2009-12-25 =-.

    • Could well be, if you are using WordPress try changing your feed to summary instead of full text, sometimes feedburner doesn’t like it when coding is added to a blog post!

  • Roberta Rosenberg

    I’m sure I’m missing something here, but FB won’t let me change the feed setting since it can’t find my URL. Stymied.
    .-= Roberta Rosenberg is hoping you stop by and read MavenTweets for 2009-12-25 =-.

    • hmmm, if you have a plugin that forwards your feed to feedburner, disable it and then write a new post, then see if your normal blog feed has the updated post in it, failing that, check you are running WordPress 2.9.1 if not upgrade and then see if it work. Failing that I’m not too sure, so anyone else reading this post got any ideas?

  • Roberta Rosenberg

    Thanks for the assist, and I tried what you suggested. Nada. I’m already on 2.9.1
    .-= Roberta Rosenberg is hoping you stop by and read MavenTweets for 2009-12-25 =-.