May 6, 2007
Wordpress Slow Response
If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!
I had an issue tonight with a Wordpress site I’ve been working on. It’s a new domain, and it currently only exists within my basement. The problem was that every page view within Wordpress was taking about 20 seconds to load. Not cool.
I did ping tests and looked for errors in packets, but it all looked normal. I tested network connectivity with other software, and the system behaved as expected. I thought my problem might be Apache, but some of my own code worked just fine. (This didn’t make sense because there’s no way my code is worthy of comparison to Wordpress’ code.)
Finally (more hours than I care to count later), I added an entry for the new domain in the hosts file. That fixed it. Apparently, Wordpress uses that hostname for something, and if it’s not resolvable by the server, you’ll see some pretty substantial delays.
This was with Wordpress 2.1.3. I found this documented somewhere in the Wordpress support forums, but I can’t find the link right now.













2 Comments on Wordpress Slow Response »
May 7, 2007
Curt @ 11:57 am:
Wow, I thought I took a wrong turn for awhile there. Thanks to you, I now know what hosts file means. I had to look it up.
Ron Davis @ 1:12 pm:
…just another example of how I’m educating the world with my blog. lol. Thanks for reading even the geek stuff, Curt.