WordPress Not Pinging? – Here’s To How To Fix It!
Posted by Karen in Uncategorized
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

If you enjoyed reading this post, then please remember to post a comment, Subscribe to my RSS feed.
![]()
No related posts.











Entries (RSS)
WordPress Stops Pinging – 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 u…
Twitter: iWoodpecker
says:
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 =-.
Twitter: BlazingMinds
says:
Glad to be of some help and thanks for bookmarking and tweeting etc, it’s very much appreciated
Twitter: dragonblogger
says:
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 =-.
Twitter: BlazingMinds
says:
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.
Twitter: element321
says:
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. =-.
Twitter: BlazingMinds
says:
Thanks for the vote, RT and the link on your blog post, very much appreciated
Twitter: extremejohn
says:
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! =-.
Twitter: money_whisper
says:
Maybe they did not tested it enough before releasing it. It’s good that you managed to solve the problem by yourself. They should offer you something as a reward maybe
Twitter: BlazingMinds
says:
Twitter: money_whisper
says:
I’ve seen that you managed to solve that problem also. If a have a software which is not working properly I know who to ask to fix it
Twitter: mikezilla14
says:
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 =-.
Twitter: BlazingMinds
says:
Glad to be of some help
Twitter: AlisonMSmith
says:
More good info from you Karen. PHP geniuses rock.
.-= Alison Moore Smith@Blog in 1 Week´s last blog ..BlogEngage: First 10,000 Votes =-.
Twitter: FamousBloggers
says:
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 =-.
Twitter: BlazingMinds
says:
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
Twitter: Passion4ThePint
says:
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 =-.
Twitter: BlazingMinds
says:
So far, plugins are not a problem, themes yes! But not plugins
Twitter: isaacyassar
says:
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
Twitter: gallardomark
says:
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 =-.
Twitter: BlazingMinds
says:
Glad to help
Twitter: moonheart85
says:
Thank you for the nice tutorial Karen. I think this tutorial will help for wordpress users.
.-= chandan@work at home´s last blog ..How Google Caffeine effect on your work at home blog ranking system? =-.
Twitter: gallardomark
says:
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 =-.
Twitter: BlazingMinds
says:
Thanks Mark, it’s been pinged
Twitter: Ileane
says:
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 =-.
Twitter: knewthis
says:
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 =-.
Twitter: BlazingMinds
says:
Leave that code, as far as I know it used when you schedule a post
Twitter: knewthis
says:
Aargh..How did I confuse scheduling with pinging! :O
.-= Anand Srinivasan´s last blog ..KnewThis Blogger Contest – Earn All That We Earn =-.
Twitter: Happymaker
says:
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 =-.
Twitter: BlazingMinds
says:
Just trying to be as helpful as I can
Twitter: DennisEdell
says:
Awesome quick tip Karen, thanks!
.-= Dennis Edell´s last blog ..The $10 Winner And More Good News….. =-.
Twitter: gfserradinho
says:
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 =-.
Twitter: BlazingMinds
says:
Thanks George that’s much appreciated
Twitter: bradsonyadark
says:
Could you tell me where I find the cron.php file please, so I can edit to see if that fixes my problem.
Cheers
Sonya
.-= Sonya´s last undefined ..If you register your site for free at =-.
Twitter: BlazingMinds
says:
Hi Sonya, I did mention in the beginning of the post that the file is located at “wp-includes/cron.php”
Twitter: CopywriterMaven
says:
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 =-.
Twitter: BlazingMinds
says:
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!
Twitter: CopywriterMaven
says:
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 =-.
Twitter: BlazingMinds
says:
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?
Twitter: CopywriterMaven
says:
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 =-.