How to get rid of URL ?doing_wp_cron=xxxxxxxx

So I noticed a few times on my blog that I was getting a URL return of

While this doesn’t cause a problem, it doesn’t look professional, so I wondered what it was, and why was it appearing.  After some digging, I found a link to this page on the Wordpress support forums It turns out that I enabled a feature as a work around for my scheduled backups on the recommendation of the plugin creator, and this was the consequence. What it doesn’t tell you is how to fix this problem. For me it is a really simple fix, as I host a Turnkey Linux WordPress appliance in a Virtacore vCloud, I simply enabled loopbacks on my host. For anyone who doesn’t understand the “WordPress” term “Loopback” it is the URL of your site being able to “loopback” locally on itself. My host configuration did not have this configured.

A simple way of fixing this is to edit the /etc/hosts file, and simply add the FQDN of your site in one of the lines: localhost wordpress

You can test if this works by running command wget [URL of site]

root@wordpress ~# wget
--2012-11-20 00:50:25--
Connecting to||:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: `index.html.1'

[ <=> ] 64,481 --.-K/s in 0.02s

2012-11-20 00:50:26 (3.42 MB/s) - `index.html.1' saved [64481]

, ,

2 Responses to How to get rid of URL ?doing_wp_cron=xxxxxxxx

  1. Vladan November 20, 2012 at 9:34 am #

    Excellent info. I was just digging about the exact same thing. Thanks the find… -:)


  2. Adrian August 17, 2017 at 4:26 am #

    Hi David,

    That is a very elegant solution.

    I have a challenge for you: What if you have multiple instances of wordpress running on the same appliance, with different domains and one IP?

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Copyright David Hill

Powered by WordPress. Designed by Woo Themes

%d bloggers like this: